From a551ad97bb6cf86e3a39592db6646276c0e52b54 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Wed, 22 Feb 2017 13:43:59 -0600 Subject: [PATCH] tests: when using pytest mark decorators ensure all fixtures are defined Decorating a test method directly with a pytest mark seems to break if the test function does not explicitly define all pytest fixtures it expects to recieve. Signed-off-by: Andrew Schoen --- tests/functional/tests/test_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/tests/test_install.py b/tests/functional/tests/test_install.py index 478581bb1..44436b3b8 100644 --- a/tests/functional/tests/test_install.py +++ b/tests/functional/tests/test_install.py @@ -15,7 +15,7 @@ class TestInstall(object): assert File(node["conf_path"]).is_file @pytest.mark.no_docker - def test_ceph_command_exists(self, Command): + def test_ceph_command_exists(self, Command, node): assert Command.exists("ceph") -- 2.39.5