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.
This commit is contained in:
mpa 2020-03-20 02:06:32 +04:00
parent 1f8fa0c4e8
commit edce7c4f75
6 changed files with 26 additions and 19 deletions

View file

@ -38,6 +38,7 @@ Babel = "^2.7"
aiofiles = "^0.4.0"
uvloop = {version = "^0.14.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'", optional = true}
async_lru = "^1.0"
aiohttp-socks = {version = "^0.3.4", optional = true}
[tool.poetry.dev-dependencies]
uvloop = {version = "^0.14.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'"}
@ -66,6 +67,7 @@ aiohttp-socks = "^0.3.4"
[tool.poetry.extras]
fast = ["uvloop"]
proxy = ["aiohttp-socks"]
[tool.black]
line-length = 99