| 272 | |
| 273 | |
| 274 | class PollOptionTestBase: |
| 275 | text = "test option" |
| 276 | voter_count = 3 |
| 277 | text_entities = [ |
| 278 | MessageEntity(MessageEntity.BOLD, 0, 4), |
| 279 | MessageEntity(MessageEntity.ITALIC, 5, 6), |
| 280 | ] |
| 281 | added_by_user = User(1, "test_user", False) |
| 282 | added_by_chat = Chat(1, "test_chat") |
| 283 | addition_date = dtm.datetime.now(dtm.timezone.utc) |
| 284 | persistent_id = "persistent_id" |
| 285 | media = PollMedia(location=Location(123, 456)) |
| 286 | |
| 287 | |
| 288 | class TestPollOptionWithoutRequest(PollOptionTestBase): |
nothing calls this directly
no test coverage detected
searching dependent graphs…