From e1c2faa7984218acad932289251567b6ed35991f Mon Sep 17 00:00:00 2001 From: Anders Nord Date: Wed, 24 Apr 2024 07:06:52 +0200 Subject: [PATCH] fix lint --- tests/unit/test_unit_smhi.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_unit_smhi.py b/tests/unit/test_unit_smhi.py index ad064b3..382cb25 100644 --- a/tests/unit/test_unit_smhi.py +++ b/tests/unit/test_unit_smhi.py @@ -1,10 +1,12 @@ """SMHI unit tests.""" from unittest.mock import MagicMock, patch + import pytest -from smhi.smhi import SMHI import pandas as pd +from smhi.smhi import SMHI + class TestUnitSMHI: """Unit tests for SMHI class.""" @@ -152,7 +154,7 @@ def test_find_stations_by_city( Args: """ client = SMHI() - data = client._find_stations_by_city(parameter, city, distance) + _ = client._find_stations_by_city(parameter, city, distance) mock_nominatim.assert_called_once() @pytest.mark.parametrize("distance", [(0), (50)])