Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
7
async
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
owner
Method · 0.80
ready
Method · 0.45
Tested by
no test coverage detected