Beispiel #1
0
 def test_connection_multiple_open(self):
     conn = GEventDBusConnection(DBUS_BUS_SESSION)
     conn.close()
     conn.open(DBUS_BUS_SESSION)
     conn.close()
Beispiel #2
0
 def test_get_unique_name(self):
     conn = GEventDBusConnection(DBUS_BUS_SESSION)
     name = conn.get_unique_name()
     assert name.startswith(':')
     conn.close()
Beispiel #3
0
 def test_connection_init(self):
     conn = GEventDBusConnection(DBUS_BUS_SESSION)
     conn.close()