Base classes and helpers to make QA autotests for API
Project description
牙城-API
HTTP
- BaseHTTP - contains all basic HTTP methods with logging. Verifies response status and raises one of errors if status is not 2xx. Allure can be passed for adding attaches to reports.
- RetrySession - simple implementation of retrying requests for flaky cases.
- HTTP errors - set of exceptions for typical HTTP error statuses.
gRPC
- BaseInterceptor - adds logging and verifies response status. Allure can be passed for adding attaches to reports.
- BaseStub - simple wrapper which adds BaseInterceptor to channel.
- GRPCError - base gRPC exception.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gajou_api-0.1.6.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for gajou_api-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ad9d974d66d1b0311c8d09c696d8bdd75c1c3bfcc106b6c2d8ab0dbd7f3349b |
|
MD5 | ad4a54fef3687a23a3d56c184b34fce2 |
|
BLAKE2b-256 | 2c38029281b19bf68aec342292745e0582be05958d1adc42159d0f09ca171940 |