1482
1482
self.assertIsNotNone(e.exception.code)
1485
1485
command.Approve().run(self.clients, self.bus)
1486
1486
for clientpath in self.clients:
1487
1487
client = self.bus.get_object(dbus_busname, clientpath)
1488
1488
self.assertIn(("Approve", (True, client_dbus_interface)),
1492
1492
command.Deny().run(self.clients, self.bus)
1493
1493
for clientpath in self.clients:
1494
1494
client = self.bus.get_object(dbus_busname, clientpath)
1495
1495
self.assertIn(("Approve", (False, client_dbus_interface)),
1499
1499
class MockMandos(object):