]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
tests: when using pytest mark decorators ensure all fixtures are defined 1287/head
authorAndrew Schoen <aschoen@redhat.com>
Wed, 22 Feb 2017 19:43:59 +0000 (13:43 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 22 Feb 2017 19:43:59 +0000 (13:43 -0600)
commita551ad97bb6cf86e3a39592db6646276c0e52b54
treeb748aa643a1955698c0d70995fac698b41bd6d1d
parent503ec9be578847c715996da424d99cb66bc6fd31
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 <aschoen@redhat.com>
tests/functional/tests/test_install.py