* Lifecycle integration tests.
Signed-off-by: dblock <[email protected]>
* Added a test that makes sure the slash is properly encoded.
Signed-off-by: dblock <[email protected]>
* Added more tests for signer and _make_path.
Signed-off-by: Nathalie Jonathan <[email protected]>
* Prevent AIOHttpConnection from encoding the url a second time.
Signed-off-by: Nathalie Jonathan <[email protected]>
---------
Signed-off-by: dblock <[email protected]>
Signed-off-by: Nathalie Jonathan <[email protected]>
Co-authored-by: dblock <[email protected]>
* Upgrade syntax with pyupgrade --py38-plus
Signed-off-by: Hugo van Kemenade <[email protected]>
* Convert to f-strings with flynt
Signed-off-by: Hugo van Kemenade <[email protected]>
* Format with Black
Signed-off-by: Hugo van Kemenade <[email protected]>
* Remove redundant mock backport dependency
Signed-off-by: Hugo van Kemenade <[email protected]>
* isort imports
Signed-off-by: Hugo van Kemenade <[email protected]>
* Add changelog entry
Signed-off-by: Hugo van Kemenade <[email protected]>
---------
Signed-off-by: Hugo van Kemenade <[email protected]>
* Fix string/tuple/no auth on AsyncHttpConnection class. Fixes#283
Signed-off-by: dannosaur <[email protected]>
* Update for PR comments. Add tests.
Signed-off-by: dannosaur <[email protected]>
* Moving tests to its own file.
Also had to install asynctest into the dev-requirements to get access to the context managers necessary to mock out aiohttp.
Signed-off-by: dannosaur <[email protected]>
* Update CHANGELOG
Signed-off-by: dannosaur <[email protected]>
* Linter fixes. Add license text to new file.
Signed-off-by: dannosaur <[email protected]>
* Move AsyncContextManagerMock to utils package for future re-use
Signed-off-by: dannosaur <[email protected]>
* Lint
Signed-off-by: dannosaur <[email protected]>
* Refactor async tests - remove asynctest package
Signed-off-by: dannosaur <[email protected]>
* Switch out to using aiounittest for async testing prior to py3.8
Signed-off-by: dannosaur <[email protected]>
* Use RequestContextManager from opensearchpy._asycn._extra_imports
Signed-off-by: dannosaur <[email protected]>
* Simplify test somewhat, move to `test_async` since all other async tests are ignored on runners <3.6
Signed-off-by: dannosaur <[email protected]>
* Lint
Signed-off-by: dannosaur <[email protected]>
---------
Signed-off-by: dannosaur <[email protected]>
Signed-off-by: Daniel (dB.) Doubrovkine <[email protected]>
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>