Base classes and helpers to make QA autotests for API
Project description
牙城
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.1.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for gajou_api-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 177c49d17dd431a47dd8b008f70f052ae3062befba42d1e3941e04d381288711 |
|
MD5 | 5ac4fb023f1e98c03fb55ecbc13d9fb4 |
|
BLAKE2b-256 | cc907420ec1d75815da5ab5b2b1b0a59c76a6236e4d05df8c2ad34148626975d |