Beispiel #1
0
async def test_DISCONNECTED() -> None:
    s = bcs.DISCONNECTED()
    c = MockConnection()
    await s.run(c)
    assert c.state is None
def test_DISCONNECTED():
    s = bcs.DISCONNECTED()
    r = s.run(_MockConnection())
    assert r.result() is None
Beispiel #3
0
async def test_DISCONNECTED() -> None:
    s = bcs.DISCONNECTED()
    r = await s.run(MockConnection())
    assert r is None