A set of modules that help with QA
Project description
EPython
The purpose of this library is to provide helper abstractions on top of well known libraries. The idea is to harden existing technologies and build easy-to-use wrappers for incorporation in test or production python code.
Overrides
There are instances when retry logic needs to be tweaked to make tests more performant, or more hardened. For this purpose, there are environmental variables that can be set to change the retry behavior.
Below are the current overrides that are available:
Env Variable | Default | Description |
---|---|---|
EPYTHON_LOG_LEVEL | INFO | Control the epython logging level |
EPYTHON_LOG_FILE | None | Set this to have all epython output logging to a file |
EPYTHON_REQUEST_ID | "epython-poke" | Set this to control what X-Request-ID is presented using poke |
EPYTHON_REQUEST_INTERVAL | 5 | The length of time between subsequent request retries |
EPYTHON_REQUEST_RETRIES | 5 | The number of request retries to make |
EPYTHON_SSH_KEY | None | Private SSH key to use |
EPYTHON_SSH_RETRIES | 3 | The number of times to retry an ssh login operation |
EPYTHON_SSH_RETRY_INTERVAL | 5 | The time to wait before a new ssh attempt |
Requests Headers:
EPYTHON_REQUEST_ID defaults to "epython-poke"
POKE_HEADERS = { "Content-Type": "application/json", "Accept": "application/json", "X-Request-ID": EPYTHON_REQUEST_ID }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for elibs_epython-2021.1045-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9721a24a37c76f9979f487c8d3820bdb0c0456a4b7d6a005e3a7e7070a90bb7 |
|
MD5 | 9fb55f0eaeff79f78b382205b76ee7fd |
|
BLAKE2b-256 | 5d61d2bd8092a95c153ced985fdf54b47cea6664b21a91288b2406ef7a8704b2 |