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

Class ChecklistTestBase

tests/test_checklists.py:186–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184
185
186class ChecklistTestBase:
187 title = "Checklist Title"
188 title_entities = [
189 MessageEntity(type="bold", offset=0, length=9),
190 MessageEntity(type="italic", offset=10, length=5),
191 ]
192 tasks = [
193 ChecklistTask(
194 id=1,
195 text="Task 1",
196 ),
197 ChecklistTask(
198 id=2,
199 text="Task 2",
200 ),
201 ]
202 others_can_add_tasks = True
203 others_can_mark_tasks_as_done = False
204
205
206@pytest.fixture(scope="module")

Callers

nothing calls this directly

Calls 2

MessageEntityClass · 0.90
ChecklistTaskClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…