mirror of https://github.com/ceph/ceph-ansible.git
tests: all tests must use the node fixture
Otherwise the logic we have for skipping tests does not work. Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1499/head
parent
949310c19e
commit
ba5c40d45d
|
@ -1,11 +1,12 @@
|
|||
import pytest
|
||||
|
||||
|
||||
class TestInstall(object):
|
||||
|
||||
def test_ceph_dir_exists(self, File):
|
||||
def test_ceph_dir_exists(self, File, node):
|
||||
assert File('/etc/ceph').exists
|
||||
|
||||
def test_ceph_dir_is_a_directory(self, File):
|
||||
def test_ceph_dir_is_a_directory(self, File, node):
|
||||
assert File('/etc/ceph').is_directory
|
||||
|
||||
def test_ceph_conf_exists(self, File, node):
|
||||
|
|
Loading…
Reference in New Issue