async def test_NOT_YET_CONNECTED() -> None: s = bcs.NOT_YET_CONNECTED() c = MockConnection() await s.run(c) assert c.state == "_connect_async"
def test_NOT_YET_CONNECTED(): s = bcs.NOT_YET_CONNECTED() r = s.run(_MockConnection()) assert r.result() == "_connect_async"
async def test_NOT_YET_CONNECTED() -> None: s = bcs.NOT_YET_CONNECTED() r = await s.run(MockConnection()) assert r == "_connect_async"