aiogram/tests/test_api/test_client
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_session feat(proxy): proxy for aiohttp,base sessions (#284) 2020-05-02 16:12:53 +03:00
__init__.py Add tests for BaseSession and TelegramAPIServer 2019-11-16 00:52:18 +02:00
test_api_server.py Add token validation util, fix deepcopy of sessions and make bot hashable and comparable 2019-11-28 23:12:44 +02:00
test_base_bot.py Fix style errors 2020-03-25 15:57:25 +03:00