Add upcast/cast_as to DynamicCapability. Also changed EventLoop.
wait_remote -> wait
This commit is contained in:
@@ -35,6 +35,6 @@ def test_simple_rpc(capability):
|
||||
cap = cap.cast_as(capability.TestInterface)
|
||||
|
||||
remote = cap.foo(i=5)
|
||||
response = loop.wait_remote(remote)
|
||||
response = loop.wait(remote)
|
||||
|
||||
assert response.x == '125'
|
||||
|
||||
Reference in New Issue
Block a user