Skip to main content

Base classes and helpers to make QA autotests for API and CLI

Project description

牙城

CLI

  • BaseCLI - contains method to send command in terminal with logging. Allure can be passed for adding attaches to reports.
  • CLIResponse - dataclass for CLI response deserialization.
  • ReturnCodes - enum with basic CLI return codes.

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.
  • HTTP errors - set of exceptions for typical HTTP error statuses.

DB

  • PostgresHelper - contains all basic commands with logging. Select-command supports simple caching. Can be useful with any query language like Pypika.
  • DatabaseError - simple DB exception.
  • Singleton - simple implementation of singleton used in DB helper to prevent unnecessary propagation of connections.

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

Uploaded Source

Built Distribution

gajou-0.2.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file gajou-0.2.0.tar.gz.

File metadata

  • Download URL: gajou-0.2.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gajou-0.2.0.tar.gz
Algorithm Hash digest
SHA256 841a630aad187f722cd65b66009fdd271d8b20eb5c6d3740bd483dd56c32d177
MD5 977f0ee2b181f3047abb64d4560a1554
BLAKE2b-256 8fe4cb65a75a22b68ea4e862105ef73bb8069ef63ad89bd1e72d4fbd772d8b88

See more details on using hashes here.

File details

Details for the file gajou-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gajou-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gajou-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccce5e67db40bdef8a789474673845c1d17aa48df8bdd5a8b2267126fff177ea
MD5 c24ccef3e2497b82d2bb5ae4ef1c1493
BLAKE2b-256 bea04fb12baabe0e0bffbf7128f7ba78e0c8fde883d4938266b8eec10363cfef

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