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

Class PaidMediaInfoTestBase

tests/test_paidmedia.py:410–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408
409
410class PaidMediaInfoTestBase:
411 star_count = 200
412 paid_media = [
413 PaidMediaVideo(
414 video=Video(
415 file_id="video_file_id",
416 width=640,
417 height=480,
418 file_unique_id="file_unique_id",
419 duration=60,
420 )
421 ),
422 PaidMediaPhoto(
423 photo=[
424 PhotoSize(
425 file_id="photo_file_id",
426 width=640,
427 height=480,
428 file_unique_id="file_unique_id",
429 )
430 ]
431 ),
432 ]
433
434
435class TestPaidMediaInfoWithoutRequest(PaidMediaInfoTestBase):

Callers

nothing calls this directly

Calls 4

PaidMediaVideoClass · 0.90
VideoClass · 0.90
PaidMediaPhotoClass · 0.90
PhotoSizeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…