Skip to content

Commit 9b2d977

Browse files
committed
chore: Add pytest marker for tests that uses mender-gateway
Signed-off-by: Alf-Rune Siqveland <[email protected]>
1 parent a99ed3e commit 9b2d977

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/pytest.ini

+3
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ testpaths = tests
1818
#
1919
# Use v1 of xunit format (default will change in pytest 6.0)
2020
junit_family=xunit1
21+
22+
markers =
23+
mender_gateway: marks tests that uses mender-gateway

tests/tests/test_mtls.py

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def make_script_artifact(artifact_name, device_type, output_path):
8585
return get_script_artifact(script, artifact_name, device_type, output_path)
8686

8787

88+
@pytest.mark.mender_gateway
8889
@pytest.mark.skipif(
8990
isK8S(), reason="not relevant in a staging or production environment"
9091
)

0 commit comments

Comments
 (0)