Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 2, 2024
1 parent e54582d commit 6a8daee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tests/test_fetchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
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()
g.fetcher.dataset_id = "whoi_406-20160902T1700"
return g, g.to_pandas()


@pytest.mark.vcr()
@pytest.mark.vcr
def test_variables(glider_grab):
"""Check if expected variables are being fetched."""
expected = [
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
root = Path(__file__).parent


@pytest.fixture()
@pytest.fixture
def glider_data():
"""Fixture to load whoi_406-20160902T1700."""
glider_grab = GliderDataFetcher()
Expand Down

0 comments on commit 6a8daee

Please sign in to comment.