From 96e3ca9c0a0043b71cece73566d7bc80ec1c256f Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 15 Nov 2022 21:46:33 +0100 Subject: [PATCH] Tests: Mark `test_cli_values_excel` as `cflake` --- tests/ui/test_cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/ui/test_cli.py b/tests/ui/test_cli.py index ee1bf3739..d33c48de5 100644 --- a/tests/ui/test_cli.py +++ b/tests/ui/test_cli.py @@ -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(