From 6a8daeed389431a140a076a6e0758e31cd57bc67 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 20:55:03 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_fetchers.py | 8 ++++---- tests/test_plotting.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_fetchers.py b/tests/test_fetchers.py index 5eb47fe..f793c25 100644 --- a/tests/test_fetchers.py +++ b/tests/test_fetchers.py @@ -6,8 +6,8 @@ from gliderpy.servers import server_parameter_rename -@pytest.fixture() -@pytest.mark.web() +@pytest.fixture +@pytest.mark.web def glider_grab(): """Create the basic query object for testing.""" g = GliderDataFetcher() @@ -15,7 +15,7 @@ def glider_grab(): return g, g.to_pandas() -@pytest.mark.vcr() +@pytest.mark.vcr def test_variables(glider_grab): """Check if expected variables are being fetched.""" expected = [ @@ -31,7 +31,7 @@ def test_variables(glider_grab): assert sorted(g.fetcher.variables) == sorted(expected) -@pytest.mark.vcr() +@pytest.mark.vcr def test_standardise_variables(glider_grab): """Check if IOOS variables are properly renamed.""" g, df = glider_grab diff --git a/tests/test_plotting.py b/tests/test_plotting.py index 2eb1af7..faac256 100644 --- a/tests/test_plotting.py +++ b/tests/test_plotting.py @@ -16,7 +16,7 @@ root = Path(__file__).parent -@pytest.fixture() +@pytest.fixture def glider_data(): """Fixture to load whoi_406-20160902T1700.""" glider_grab = GliderDataFetcher()