diff --git a/tests/pytest.ini b/tests/pytest.ini index 7c8b1303e..28c7ec9c2 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -18,3 +18,7 @@ testpaths = tests # # Use v1 of xunit format (default will change in pytest 6.0) junit_family=xunit1 + +markers = + mender_gateway_docker: marks tests that uses mender-gateway Docker image + mender_gateway_qemu: marks tests that uses mender-gateway-qemu-commercial Docker image diff --git a/tests/tests/test_mtls.py b/tests/tests/test_mtls.py index 15c826d36..0394455b1 100644 --- a/tests/tests/test_mtls.py +++ b/tests/tests/test_mtls.py @@ -85,6 +85,7 @@ def make_script_artifact(artifact_name, device_type, output_path): return get_script_artifact(script, artifact_name, device_type, output_path) +@pytest.mark.mender_gateway @pytest.mark.skipif( isK8S(), reason="not relevant in a staging or production environment" )