Issue-ID: OOM-2889
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Change-Id: I9c653bdaa8cfcd1a8e187cbf899c060a6299457c
host_vars:
infrastructure-server:
cluster_ip: 127.0.0.1
- group_vars:
- all:
- app_name: onap
- app_data_path: "/opt/{{ app_name }}"
verifier:
name: testinfra
--- /dev/null
+def test_dir(host):
+ f = host.file('/cfg')
+ assert f.exists
+ assert f.is_directory
+
+
+def test_hostname_file(host):
+ assert host.file('/cfg/simulated_hosts').exists
+
+
+def test_dns_container(host):
+ assert host.docker('dns-server').is_running
host_vars:
infrastructure-server:
cluster_ip: 127.0.0.1
- group_vars:
- all:
- app_name: onap
- app_data_path: "/opt/{{ app_name }}"
verifier:
name: testinfra