Skip to content

Commit 25a7f56

Browse files
committed
feat: add a connected_env_only marker for tests that cannot run on disconnected
1 parent 97aac18 commit 25a7f56

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ markers =
66
# General
77
polarion: Store polarion test ID
88
jira: Store jira bug ID
9+
connected_env_only: Mark tests that can only be run in deployments with Internet access i.e. not on disconnected clusters.
910

1011
# CI
1112
smoke: Mark tests as smoke tests; covers core functionality of the product. Aims to ensure that the build is stable enough for further testing.

tests/model_explainability/lm_eval/test_lm_eval.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
)
1616

1717

18+
@pytest.mark.connected_env_only
1819
@pytest.mark.parametrize(
1920
"model_namespace, lmevaljob_hf",
2021
[

0 commit comments

Comments
 (0)