Adam Hopkins
eb3d0a3f87
squash
2020-10-25 10:45:22 +02:00
Adam Hopkins
3f6a978328
Swap out requests-async for httpx ( #1728 )
...
* Begin swap of requests-async for httpx
* Finalize httpx adoption and resolve tests
Resolve linting and formatting
* Remove documentation references to requests-async in favor of httpx
2019-12-20 19:23:52 -08:00
Harsha Narayana
13079c6e30
GIT-1591 Strict Slashes behavior fix ( #1594 )
...
* fix: GIT-1591: fix strict_slashes option inheriting behavior
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
* doc: GIT-1591: add documentation exlaining the strict_slashes behavior
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
* fix: GIT-1591: fix deprecated for test_client
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
2019-06-06 07:21:58 -05:00
Yun Xu
a2dbbb25a1
add try/finally block for always clean up resources
2019-05-17 00:25:46 -07:00
Yun Xu
046ca6eaf1
fix unit tests due to dependency upgrade
2019-05-16 22:44:46 -07:00
Adam Hopkins
ccd4c9615c
Create requests-async based TestClient, remove aiohttp dependency, drop Python 3.5
...
Update all tests to be compatible with requests-async
Cleanup testing client changes with black and isort
Remove Python 3.5 and other meta doc cleanup
rename pyproject and fix pep517 error
Add black config to tox.ini
Cleanup tests and remove aiohttp
tox.ini change for easier development commands
Remove aiohttp from changelog and requirements
Cleanup imports and Makefile
2019-04-30 15:26:06 +03:00
Leonardo Teixeira Menezes
08794ae1cf
Enforce Datetime Type for Expires on Set-Cookie ( #1484 )
...
* Enforce Datetime Type for Expires on Set-Cookie
* Fix lint issues
* Format code and improve error type
* Fix import order
2019-02-06 12:29:33 -06:00
Denis Makogon
2cb05ab865
More tests, attempting to fix CI
2019-01-15 14:52:53 +02:00
7
8dd8e9916e
upgrade pytest version that compatible with pytest-cov, fixes some caplog unit tests ( #1464 )
2019-01-08 09:15:23 -06:00
Sergey Fedoruk
391fcdc83d
fix access_log in run server and fix bool in env variables
2019-01-02 23:28:05 +01:00
Adam Hopkins
05dd3b2e9d
Run linter
2018-12-30 13:18:06 +02:00
Hasan Ramezani
485ff32e42
Fix all test files lint errors.
2018-10-23 11:04:17 +02:00
Alec Buckenheimer
b7d74c82ba
simplified aiohttp version diffs, reverted worker import policy
2018-10-08 22:48:21 -04:00
Alec Buckenheimer
efbacc17cf
unittests passing on windows again
2018-09-29 13:54:47 -04:00
Ashley Sommer
ec226e33cb
Pin aiohttp <= 3.2.1 in requirements-dev.txt (fixes errors for new contributors checking out the code and setting up a dev environment)
...
Future-proof the some test cases so they work with aiohttp >= 3.3.0, in case we bump the aiohttp version in the future.
2018-08-16 15:00:23 +10:00
Yun Xu
b0ecb3170f
fix hang build
2018-03-15 22:03:36 -07:00
Yun Xu
d42cb7ddb3
fix hang build
2018-03-15 21:28:52 -07:00
Yun Xu
a2fc37121b
migrating all to async syntax
2018-03-01 22:35:58 -08:00
Yun Xu
d1a8e8b042
fixed unit tests
2018-02-27 22:25:38 -08:00
Yun Xu
eca98a54eb
fixed all unit tests
2018-02-26 22:18:21 -08:00
Yun Xu
46ed2c5270
upgrade aiohttp for test_client
2018-02-26 22:08:05 -08:00
Jeong YunWon
a8827a5d95
Boost test speed by pytest-xdist
2018-01-03 18:52:25 +09:00
Ashley Sommer
8eb59ad4dc
Fixed error where the RequestTimeout test wasn't actually testing the correct behaviour
...
Fixed error where KeepAliveTimeout wasn't being triggered in the test suite, when using uvloop
Fixed test cases when using other asyncio loops such as uvloop
Fixed Flake8 linting errors
2017-09-13 10:18:36 +10:00
Ashley Sommer
173f94216a
Fixed the delays, and expected responses, in the keepalive_timeout tests
2017-09-12 13:40:43 +10:00
Ashley Sommer
1a74accd65
finished the keepalive_timeout tests
2017-09-12 13:09:42 +10:00
Ashley Sommer
2979e03148
WIP - Split RequestTimeout, ResponseTimout, and KeepAliveTimeout into different timeouts, with different callbacks.
2017-09-11 17:17:33 +10:00