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.4.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for gajou_api-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce72127de7af0a4b1cb4e0079d5de33ad79b28aa4caaf90eda7d59811a7b9aac |
|
MD5 | 291e28b3e0e4fd8454ec98c2c0a12f75 |
|
BLAKE2b-256 | 6926b9edb685c5146978efa9d8ccbab1844a04d3d9cff67912831ae53e965040 |