Audentes
A package for writing component tests with docker compose
Example:
docker-compose.yml
version: '2.1'
services:
web:
image: nginx
ports:
- "80"
test.py
import audentes
import requests
system = audentes.load_system() #Defaults to docker-comose.yml
system.start()
system.wait_for_service("web") #Waits for web service to respond with status code 200 on /
host = system.endpoint("web").host() # Now we can do some testing
response = requests.get("http://{}/".format(host))
assert response.status_code == 200 # Assert that we get the response we expect
Metadata
Release files for audentes 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| audentes-0.1.9.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| audentes-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / audentes-0.1.9.tar.gz
| Download URL | audentes-0.1.9.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bdbe7958b2325eff6b1a94ddc760dd65c93b13851d1b59ba7571567c12ea5522
|
|
BLAKE2b-256 checksum How to use checksums |
94fe73b2612744ed524a6770f3bcc06f953834e2ce2a046bdb0005c36c24e8d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / audentes-0.1.9-py3-none-any.whl
| Download URL | audentes-0.1.9-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
908703766ef9c920e36abee3daa264e2b729a20f8183b8cff64225c885ed9399
|
|
BLAKE2b-256 checksum How to use checksums |
0aaf7853c3777df05d5d203bab748193a5a467031fae6559565112b438483f56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Security for audentes 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.