Source code for tests.test_pipeline_markers

"""Dummy tests for each mark.

This ensures that build pipeline does not fail if there are no tests marked
with a given marker.

If there's a better way of doing this, please implement it :).
"""
import pytest


[docs]def test_no_mark(): """Tests no mark.""" assert True
[docs]@pytest.mark.unit_test() def test_unit_test(): """Tests @pytest.mark.unit_test().""" assert True
[docs]@pytest.mark.integration_test() def test_integration_test(): """Tests @pytest.mark.integration_test().""" assert True
[docs]@pytest.mark.e2e_integration_test() def test_e2e_integration_test(): """Tests @pytest.mark.e2e_integration_test().""" assert True