diff --git a/pytest.ini b/pytest.ini index c7c2b50d..4d5f1fff 100644 --- a/pytest.ini +++ b/pytest.ini @@ -8,6 +8,7 @@ markers = log: log observation tests property: property popularity observation tests quantity: quantity observation tests + soup: soup-based observation tests sparql: sparql-based observation tests statistics: statistics observation tests user: user observation tests diff --git a/tests/test_create_observation/test_create_software_version_observation/test_create_software_version_observation.py b/tests/test_create_observation/test_create_software_version_observation/test_create_software_version_observation.py index 1756129e..51f746d7 100644 --- a/tests/test_create_observation/test_create_software_version_observation/test_create_software_version_observation.py +++ b/tests/test_create_observation/test_create_software_version_observation/test_create_software_version_observation.py @@ -18,6 +18,7 @@ @pytest.mark.dependency( name="software-version-success", depends=["add-wikibase"], scope="session" ) +@pytest.mark.soup @pytest.mark.version async def test_create_software_version_observation_success(mocker): """Test Data Returned Scenario""" @@ -42,6 +43,7 @@ async def test_create_software_version_observation_success(mocker): @pytest.mark.dependency( name="software-version-failure", depends=["software-version-success"] ) +@pytest.mark.soup @pytest.mark.version async def test_create_software_version_observation_failure(mocker): """Test Failure Scenario""" diff --git a/tests/test_create_observation/test_create_software_version_observation/test_update_software_data.py b/tests/test_create_observation/test_create_software_version_observation/test_update_software_data.py index 37f76f3a..a9884206 100644 --- a/tests/test_create_observation/test_create_software_version_observation/test_update_software_data.py +++ b/tests/test_create_observation/test_create_software_version_observation/test_update_software_data.py @@ -17,6 +17,7 @@ @pytest.mark.dependency( name="update-software-data", depends=["software-version-success"], scope="session" ) +@pytest.mark.soup @pytest.mark.version async def test_update_software_data(mocker): """Test Update Software Data""" diff --git a/tests/test_create_observation/test_create_statistics_observation/test_create_statistics_observation.py b/tests/test_create_observation/test_create_statistics_observation/test_create_statistics_observation.py index c4f82d19..75084f1d 100644 --- a/tests/test_create_observation/test_create_statistics_observation/test_create_statistics_observation.py +++ b/tests/test_create_observation/test_create_statistics_observation/test_create_statistics_observation.py @@ -15,6 +15,7 @@ @pytest.mark.dependency( name="statistics-success", depends=["add-wikibase"], scope="session" ) +@pytest.mark.soup @pytest.mark.statistics async def test_create_statistics_observation_success(mocker): """Test Data Returned Scenario""" @@ -33,6 +34,7 @@ async def test_create_statistics_observation_success(mocker): @pytest.mark.asyncio @pytest.mark.dependency(name="statistics-failure", depends=["statistics-success"]) +@pytest.mark.soup @pytest.mark.statistics async def test_create_statistics_observation_failure(mocker): """Test Failure Scenario"""