Fix pytest fixtures for skipping docker
Change-Id: Id90fe8b2cc0e5f8351ed23610641a025dcf73817 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
96ac665eaa
commit
5d6af4997a
@ -22,6 +22,6 @@ def platform_docker(host):
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def skip_platform_docker(request, platform_docker):
|
||||
marker = request.node.get_marker('skip_if_docker')
|
||||
marker = request.node.get_closest_marker('skip_if_docker')
|
||||
if marker and platform_docker:
|
||||
pytest.skip('Skipping docker')
|
||||
|
Loading…
Reference in New Issue
Block a user