Skip to main content

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.7.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

gajou_api-0.1.7-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file gajou_api-0.1.7.tar.gz.

File metadata

  • Download URL: gajou_api-0.1.7.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for gajou_api-0.1.7.tar.gz
Algorithm Hash digest
SHA256 ac455676190b677b258953e5864c80e54d6ae43a884dfad934da42d336acc0a4
MD5 8a0f4bd14fe21f3bd84bef012858a320
BLAKE2b-256 7f15fc4b7af4551132552df5027f2382bad1cabeb645ee6397e81aff7ffa9a25

See more details on using hashes here.

File details

Details for the file gajou_api-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: gajou_api-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for gajou_api-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f1f0ba27032c7594365eab85d9b1a5c13e5971ad06972c50a933f9a8f4ff4dd5
MD5 4b94cae5f8735a065c1a4dc8596b6337
BLAKE2b-256 fe28379a63fef438641c30c3abe9e284aeb83084f43c8295ff635a523fc2ef1f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page