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