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
async def test_DISCONNECTED() -> None: s = bcs.DISCONNECTED() r = await s.run(MockConnection()) assert r is None