This commit is contained in:
parent
fc4df56055
commit
1a1873c77a
@ -9,9 +9,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
||||
|
||||
|
||||
def test_droneci_running(host):
|
||||
drone_server = host.docker("drone-server")
|
||||
drone_client = host.docker("drone-client")
|
||||
def test_droneci_compose_file(host):
|
||||
f = host.file('/var/lib/docker/services/drone-ci/docker-compose.yml')
|
||||
|
||||
assert drone_server.is_running
|
||||
assert drone_client.is_running
|
||||
assert f.exists
|
||||
|
Loading…
Reference in New Issue
Block a user