| 165 | |
| 166 | |
| 167 | class PollMediaTestBase: |
| 168 | animation = Animation("blah", "unique_id", 320, 180, 1) |
| 169 | audio = Audio(file_id="file_id", file_unique_id="file_unique_id", duration=30) |
| 170 | document = Document("file_id", "file_unique_id", "file_name", 42) |
| 171 | location = Location(123, 456) |
| 172 | photo = (PhotoSize("file_id", "file_unique_id", 1, 1),) |
| 173 | sticker = Sticker("file_id", "file_unique_id", 512, 512, False, False, "regular") |
| 174 | venue = Venue(location=Location(123, 456), title="title", address="address") |
| 175 | video = Video( |
| 176 | file_id="video_file_id", |
| 177 | width=640, |
| 178 | height=480, |
| 179 | file_unique_id="file_unique_id", |
| 180 | duration=dtm.timedelta(seconds=60), |
| 181 | ) |
| 182 | live_photo = LivePhoto( |
| 183 | file_id="video_file_id", |
| 184 | file_unique_id="file_unique_id", |
| 185 | width=640, |
| 186 | height=480, |
| 187 | duration=dtm.timedelta(seconds=60), |
| 188 | mime_type="video/mp4", |
| 189 | file_size=326534, |
| 190 | ) |
| 191 | |
| 192 | |
| 193 | class TestPollMediaWithoutRequest(PollMediaTestBase): |
nothing calls this directly
no test coverage detected
searching dependent graphs…