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

Class CallbackQueryTestBase

tests/test_callbackquery.py:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66
67class CallbackQueryTestBase:
68 id_ = "id"
69 from_user = User(1, "test_user", False)
70 chat_instance = "chat_instance"
71 message = Message(
72 3, dtm.datetime.utcnow(), Chat(4, "private"), from_user=User(5, "bot", False)
73 )
74 data = "data"
75 inline_message_id = "inline_message_id"
76 game_short_name = "the_game"
77
78
79class TestCallbackQueryWithoutRequest(CallbackQueryTestBase):

Callers

nothing calls this directly

Calls 3

UserClass · 0.90
MessageClass · 0.90
ChatClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…