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
Andrew Schoen 2017-05-04 16:36:36 -05:00
parent 949310c19e
commit ba5c40d45d
1 changed files with 3 additions and 2 deletions

View File

@ -1,11 +1,12 @@
import pytest import pytest
class TestInstall(object): class TestInstall(object):
def test_ceph_dir_exists(self, File): def test_ceph_dir_exists(self, File, node):
assert File('/etc/ceph').exists 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 assert File('/etc/ceph').is_directory
def test_ceph_conf_exists(self, File, node): def test_ceph_conf_exists(self, File, node):