MCPcopy Index your code
hub / github.com/python-telegram-bot/python-telegram-bot / chat

Function chat

tests/test_chat.py:43–56  ·  view source on GitHub ↗
(bot)

Source from the content-addressed store, hash-verified

41
42@pytest.fixture(scope="module")
43def chat(bot):
44 chat = Chat(
45 ChatTestBase.id_,
46 title=ChatTestBase.title,
47 type=ChatTestBase.type_,
48 username=ChatTestBase.username,
49 is_forum=True,
50 first_name=ChatTestBase.first_name,
51 last_name=ChatTestBase.last_name,
52 is_direct_messages=ChatTestBase.is_direct_messages,
53 )
54 chat.set_bot(bot)
55 chat._unfreeze()
56 return chat
57
58
59class ChatTestBase:

Callers

nothing calls this directly

Calls 3

ChatClass · 0.90
_unfreezeMethod · 0.80
set_botMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…