Skip to main content

A package for writing component tests with docker compose

Project description


A package for writing component tests with docker compose



version: '2.1'
    image: nginx
     - "80"

import audentes
import requests

system = audentes.load_system() #Defaults to docker-comose.yml
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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for audentes, version 0.1.9
Filename, size File type Python version Upload date Hashes
Filename, size audentes-0.1.9-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size audentes-0.1.9.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page