aiogram/tests
Dima Boger 023245c76b Add sentinel value for parse_mode which can be None itself
Resolves #302. We decided to use sentinel pattern (https://python-patterns.guide/python/sentinel-object/) as a solution, but got a few problems with plain `object()`, so instead we use unittest.mock.sentinel and we hope it won't cause side effects.

Most of work done via tg-codegen (https://github.com/aiogram/tg-codegen/pull/1), so it's good to review only implementation of sentinel, processing sentinel in `prepare_parse_mode`, changes in base method model and little test fixes.
2020-04-12 19:37:01 +03:00
..
test_api Add sentinel value for parse_mode which can be None itself 2020-04-12 19:37:01 +03:00
test_dispatcher Merge BaseBot to Bot class 2020-03-25 15:36:19 +03:00
test_utils Add support of Bot API 4.7. Bump version 2020-04-11 20:15:03 +03:00
__init__.py Update tests and small refactoring 2019-11-16 22:32:26 +02:00
conftest.py Cover Command filter 2019-12-04 18:04:29 +02:00
mocked_bot.py Add stream_content to BaseSession and add tests 2020-01-22 22:54:29 +05:00