diff options
Diffstat (limited to 'tests/twisted/mctest.py')
-rw-r--r-- | tests/twisted/mctest.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/twisted/mctest.py b/tests/twisted/mctest.py index cd1a8530..48d98c0e 100644 --- a/tests/twisted/mctest.py +++ b/tests/twisted/mctest.py @@ -1087,6 +1087,16 @@ class ChannelDispatcher(servicetest.ProxyWrapper): servicetest.ProxyWrapper.__init__(self, bare_cd, cs.CD, {}) +class ChannelDispatchOperation(servicetest.ProxyWrapper): + def __init__(self, bus, path): + bare_cdo = bus.get_object(cs.CD, path) + servicetest.ProxyWrapper.__init__(self, bare_cdo, cs.CDO, {}) + +class ChannelRequest(servicetest.ProxyWrapper): + def __init__(self, bus, path): + bare_cr = bus.get_object(cs.CD, path) + servicetest.ProxyWrapper.__init__(self, bare_cr, cs.CR, {}) + def connect_to_mc(q, bus, mc): account_manager = AccountManager(bus) |