Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/test_weather_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ def test_import_both(self):

def test_dunder_all(self):
"""spotforecast2_safe.weather.__all__ exposes both classes."""
import spotforecast2_safe.weather as w
from spotforecast2_safe.weather import __all__ as weather_all

assert "WeatherClient" in w.__all__
assert "WeatherService" in w.__all__
assert "WeatherClient" in weather_all
assert "WeatherService" in weather_all

def test_weather_service_is_subclass(self):
"""WeatherService is a subclass of WeatherClient."""
Expand Down
Loading