~facundo/ubuntuone-client/fix-failure-handling

« back to all changes in this revision

Viewing changes to tests/platform/ipc/test_linux.py

  • Committer: Tarmac
  • Author(s): Diego Sarmentero
  • Date: 2012-05-01 14:51:20 UTC
  • mfrom: (1229.3.3 ubuntuone-client-ipc)
  • Revision ID: tarmac-20120501145120-hkfl16y8fjk1xlo1
- Refactor platform/ipc (LP: #989127).

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    FakedService,
41
41
    FakedObject,
42
42
)
43
 
from ubuntuone.platform.linux import dbus_interface
44
 
from ubuntuone.platform.linux.dbus_interface import (
 
43
from ubuntuone.platform.ipc import linux as dbus_interface
 
44
from ubuntuone.platform.ipc.linux import (
45
45
    DBusExposedObject,
46
46
    DBUS_IFACE_STATUS_NAME,
47
47
    DBUS_IFACE_EVENTS_NAME,
307
307
    def test_restart(self):
308
308
        """Start things up, then fire a restart, check it tries to restart."""
309
309
        d = defer.Deferred()
 
310
 
310
311
        def _handler(*a):
311
312
            """Async helper."""
312
313
            d.callback(True)