~ubuntuone-control-tower/ubuntuone-dev-tools/stable-4-2

« back to all changes in this revision

Viewing changes to ubuntuone/devtools/testcases/dbus.py

  • Committer: Rodney Dawes
  • Date: 2012-12-10 18:53:55 UTC
  • mfrom: (98.3.1 update-4-2)
  • Revision ID: rodney.dawes@canonical.com-20121210185355-tn5vb0y7g22ska20
Fix pep8 warnings that are newly presented in pep8 1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
 
72
72
 
73
73
@skipIf(dbus is None or service is None or DBusGMainLoop is None,
74
 
    "The test requires dbus.")
 
74
        "The test requires dbus.")
75
75
class DBusTestCase(BaseTestCase):
76
76
    """Test the DBus event handling."""
77
77
 
110
110
        # str instead of anything from ubuntuone.devtools.compat. dbus
111
111
        # expects this to be str regardless of version.
112
112
        self.bus = dbus.bus.BusConnection(address_or_type=str(bus_address),
113
 
                    mainloop=self.loop)
 
113
                                          mainloop=self.loop)
114
114
 
115
115
        # Monkeypatch the dbus.SessionBus/SystemBus methods, to ensure we
116
116
        # always point at our own private bus instance.