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.2.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for gajou_api-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45ff13dfb18ad0f5686caf84e6f9e0c9ec62a1262b7b9c18f47512de5bbb62e0 |
|
MD5 | 9941c33b8334a07c2d6663f3579b76f1 |
|
BLAKE2b-256 | 5fca93f9e6e3331a8cbb8db007a01268133c3b46ad575d33b1d472614aee38ed |