]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: common basic tests for after installation
authorAlfredo Deza <adeza@redhat.com>
Thu, 27 Oct 2016 19:29:12 +0000 (15:29 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 4 Nov 2016 17:59:32 +0000 (13:59 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

tests/functional/tests/test_install.py [new file with mode: 0644]

diff --git a/tests/functional/tests/test_install.py b/tests/functional/tests/test_install.py
new file mode 100644 (file)
index 0000000..4acaf24
--- /dev/null
@@ -0,0 +1,10 @@
+import os
+
+
+class TestInstall(object):
+
+    def test_ceph_dir_exists(self):
+        assert os.path.isdir('/etc/ceph')
+
+    def test_ceph_conf_exists(self):
+        assert os.path.isfile('/etc/ceph/ceph.conf')