Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Breaking Change]: Remove save file func #159

Merged
merged 10 commits into from
May 25, 2022
Prev Previous commit
Next Next commit
tests: Adjust to accomodate no file format/saving
  • Loading branch information
Milind220 committed May 23, 2022
commit 03acb2535489e133a958b1f87ca9022315c70dfe
2 changes: 1 addition & 1 deletion tests/test_get_city_forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_return_value_and_format():
result = api.get_city_forecast("london")

assert isinstance(result, pandas.DataFrame)
assert len(result) == 8
assert len(result) == 7


@pytest.mark.vcr
Expand Down
2 changes: 1 addition & 1 deletion tests/test_get_historical_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ def test_warnings_on_input_combo():

def test_arguments_not_named():
with pytest.raises(ValueError, match="must be specified"):
api.get_historical_data("london") # type: ignore
api.get_historical_data()