~nataliabidart/magicicada-client/fix-travis-ubuntuone-clientdefs

« back to all changes in this revision

Viewing changes to magicicadaclient/platform/tests/filesystem_notifications/common.py

  • Committer: Natalia
  • Date: 2018-05-19 20:44:54 UTC
  • mto: This revision was merged to the branch mainline in revision 1445.
  • Revision ID: natalia.bidart@ubuntu.com-20180519204454-fliiqyexj67r7fp9
- Rename python package to magicicadaclient.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
import itertools
39
39
 
40
40
from twisted.internet import defer
41
 
from contrib.testing.testcase import BaseTwistedTestCase
 
41
from magicicadaclient.testing.testcase import BaseTwistedTestCase
42
42
from ubuntuone.devtools.handlers import MementoHandler
43
 
from ubuntuone.platform.filesystem_notifications.pyinotify_agnostic import (
 
43
from magicicadaclient.platform.filesystem_notifications.pyinotify_agnostic import (
44
44
    EventsCodes,
45
45
    ProcessEvent,
46
46
    IN_CLOSE_WRITE,
48
48
    IN_DELETE,
49
49
    IN_OPEN,
50
50
)
51
 
from ubuntuone.platform.filesystem_notifications import notify_processor
52
 
from ubuntuone.platform.filesystem_notifications.monitor.common import (
 
51
from magicicadaclient.platform.filesystem_notifications import notify_processor
 
52
from magicicadaclient.platform.filesystem_notifications.monitor.common import (
53
53
    FilesystemMonitor,
54
54
    Watch,
55
55
    WatchManager,
56
56
)
57
 
from ubuntuone.platform.filesystem_notifications.monitor import ACTIONS
58
 
from ubuntuone.platform.os_helper import get_os_valid_path
 
57
from magicicadaclient.platform.filesystem_notifications.monitor import ACTIONS
 
58
from magicicadaclient.platform.os_helper import get_os_valid_path
59
59
 
60
60
OP_FLAGS = EventsCodes.FLAG_COLLECTIONS['OP_FLAGS']
61
61
IS_DIR = EventsCodes.FLAG_COLLECTIONS['SPECIAL_FLAGS']['IN_ISDIR']