Skip to content

Commit

Permalink
Tests: Mark test_cli_values_excel as cflake
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Nov 20, 2022
1 parent 81dc6a2 commit 96e3ca9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/ui/test_cli.py
Expand Up @@ -365,13 +365,17 @@ def test_cli_values_csv(provider, network, setting, station_id, station_name):
assert station_id in result.output


@pytest.mark.cflake
@pytest.mark.parametrize(
"provider,network,setting,station_id,station_name",
SETTINGS_VALUES,
)
def test_cli_values_excel(provider, network, setting, station_id, station_name, tmpdir_factory):

# TODO: Why doesn't this work?
# filename = tmpdir_factory.mktemp("data").join("values.xlsx") # Noqa:E800

# FIXME: This will concurrently access the file with `pytest-xdist`, so it will croak.
filename = "values.xlsx"

_ = invoke_wetterdienst_values_export(
Expand Down

0 comments on commit 96e3ca9

Please sign in to comment.