Skip to content

Commit

Permalink
Mark Soup
Browse files Browse the repository at this point in the history
  • Loading branch information
RickiJay-WMDE committed Oct 24, 2024
1 parent 56a00dc commit e24b248
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand All @@ -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"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand All @@ -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"""
Expand Down

0 comments on commit e24b248

Please sign in to comment.