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

Class GameTestBase

tests/_games/test_game.py:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39
40class GameTestBase:
41 title = "Python-telegram-bot Test Game"
42 description = "description"
43 photo = [PhotoSize("Blah", "ElseBlah", 640, 360, file_size=0)]
44 text = (
45 b"\\U0001f469\\u200d\\U0001f469\\u200d\\U0001f467"
46 b"\\u200d\\U0001f467\\U0001f431http://google.com"
47 ).decode("unicode-escape")
48 text_entities = [MessageEntity(13, 17, MessageEntity.URL)]
49 animation = Animation("blah", "unique_id", 320, 180, 1)
50
51
52class TestGameWithoutRequest(GameTestBase):

Callers

nothing calls this directly

Calls 3

PhotoSizeClass · 0.90
MessageEntityClass · 0.90
AnimationClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…