From 85ce43b79684a92f70a690a8f949e0280edb1ad9 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 15 Jun 2020 21:55:34 +0200 Subject: [PATCH] add basic test and verify the compose file exists --- molecule/centos7/tests/test_default.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/molecule/centos7/tests/test_default.py b/molecule/centos7/tests/test_default.py index 7339d3f..aff2026 100644 --- a/molecule/centos7/tests/test_default.py +++ b/molecule/centos7/tests/test_default.py @@ -9,3 +9,6 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') +def test_droneci_compose_file(host): + f = host.file('/var/lib/docker/services/droneci/droneci_runner_docker.yml') + assert f.exists