Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ZohebShaikh committed Dec 18, 2024
1 parent 9f78e77 commit c6bb049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/system_tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
_DISABLE_SIDE_EFFECTS_MESSAGE = """
This test would cause side effects on the beamline, it has been disabled
so as not to interfere with operation. To run tests that may interfere with
the beamline export DISABLE_SIDE_EFFECTS=0
the beamline export DISABLE_SIDE_EFFECTS=0 or add to add to env in pyproject.toml
"""
disable_side_effects = pytest.mark.skipif(
_DISABLE_SIDE_EFFECTS, reason=_DISABLE_SIDE_EFFECTS_MESSAGE
Expand All @@ -29,7 +29,7 @@
# Mark for beamline-specific tests
_BEAMLINE_SPECIFIC_MESSAGE = """
This test is beamline-specific but no beamline has been set.
Set the BEAMLINE environment variable to enable this test.
Set the BEAMLINE environment variable to enable this test in pyproject.toml
"""
beamline_specific_test = pytest.mark.skipif(
not _BEAMLINE, reason=_BEAMLINE_SPECIFIC_MESSAGE
Expand Down

0 comments on commit c6bb049

Please sign in to comment.