MCPcopy
hub / github.com/wechaty/python-wechaty / test_room_owner

Function test_room_owner

tests/room_test.py:7–10  ·  view source on GitHub ↗
(test_bot: Wechaty)

Source from the content-addressed store, hash-verified

5
6@pytest.mark.asyncio
7async def test_room_owner(test_bot: Wechaty) -> None:
8 owner = await test_bot.Room("fake_room").owner()
9 await owner.ready()
10 assert owner.contact_id == "wechaty_user"
11
12
13@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

ownerMethod · 0.80
readyMethod · 0.45

Tested by

no test coverage detected