Skip to content

Commit

Permalink
Consolidate pytest markers
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Aug 30, 2021
1 parent 8134dc3 commit eb22c05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ isort = "isort wetterdienst example tests"
format = ["black", "isort"]
lint = "flakehell lint wetterdienst example tests"
test = "pytest -vvv tests"
test-cflakes = "pytest -vvv -m cflake tests"
test-parallel = "pytest -vvv --numprocesses=4 -m 'not (explorer or cflake)' tests"
coverage = "pytest --cov=wetterdienst tests"
coverage-parallel = "pytest --cov=wetterdienst --numprocesses=4 -m 'not (explorer or cflake)' tests"
Expand Down
4 changes: 4 additions & 0 deletions tests/ui/explorer/test_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@


@pytest.mark.slow
@pytest.mark.cflake
@pytest.mark.explorer
def test_app_layout(wetterdienst_ui, dash_tre):

Expand All @@ -37,6 +38,7 @@ def test_app_layout(wetterdienst_ui, dash_tre):


@pytest.mark.slow
@pytest.mark.cflake
@pytest.mark.explorer
def test_app_data_stations_success(wetterdienst_ui, dash_tre):
"""
Expand Down Expand Up @@ -67,6 +69,7 @@ def test_app_data_stations_success(wetterdienst_ui, dash_tre):


@pytest.mark.slow
@pytest.mark.cflake
@pytest.mark.explorer
def test_app_data_stations_failed(wetterdienst_ui, dash_tre):
"""
Expand All @@ -89,6 +92,7 @@ def test_app_data_stations_failed(wetterdienst_ui, dash_tre):


@pytest.mark.slow
@pytest.mark.cflake
@pytest.mark.explorer
def test_app_data_values(wetterdienst_ui, dash_tre):
"""
Expand Down

0 comments on commit eb22c05

Please sign in to comment.