aiogram/tests
Martin Winks 15bcc0ba9f
feat(proxy): proxy for aiohttp,base sessions (#284)
* feat(proxy): proxy for aiohttp,base sessions

Add support for proxies in aiohttp session with aiohttp_socks library,
edit BaseSession class to support proxies for other sessions in future.

* fix(annotation): missing underscore before "private" typevar

* chore: remove redundant of proxy_url schema for socks version

* test: add missing test

Add missing test, remove BaseSession.cfg and switch to
implementing class' "private" traits, add aiohttp_socks in dependency list as
optional and extra.

* feat(session):

Implement asyncio session for requests [wip]

* feat(proxy chain): Chained proxy support in aiohttp session

Add ChainProxyConnector support, !pin pydantic to "1.4", add
documentation on aiohttp connector.

* style(mypy): apply linter changes

* tests(mock): remove await for magic mock

* fix dangling dependency

* refactor(generic):

get rid of generic behaviour for base session
2020-05-02 16:12:53 +03:00
..
test_api feat(proxy): proxy for aiohttp,base sessions (#284) 2020-05-02 16:12:53 +03:00
test_dispatcher Add extensions for class-based error handler 2020-04-12 23:29:10 +03:00
test_utils Fix phone_number and bot_command entity types generation 2020-05-02 02:43:19 +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