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)])