MCPcopy Create free account
hub / github.com/ehForwarderBot/ehForwarderBot / test_generate_with_channel

Function test_generate_with_channel

tests/test_chat.py:10–14  ·  view source on GitHub ↗
(slave_channel)

Source from the content-addressed store, hash-verified

8
9
10def test_generate_with_channel(slave_channel):
11 chat = PrivateChat(channel=slave_channel, uid="chat_id")
12 assert chat.module_id == slave_channel.channel_id
13 assert chat.module_name == slave_channel.channel_name
14 assert chat.channel_emoji == slave_channel.channel_emoji
15
16
17def test_generate_with_middleware(middleware):

Callers

nothing calls this directly

Calls 1

PrivateChatClass · 0.90

Tested by

no test coverage detected