Skip to content

Commit

Permalink
adjsuted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaiBe-ctrl committed Jun 21, 2024
1 parent 241a407 commit c1abbea
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/test_hdays_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,11 @@


def test_get_country_holidays():
# assert issubclass(country_holidays("TU").__class__, holidays.countries.turkey.TR) is True

for country in ("UnitedStates", "US", "USA"):
us_holidays = country_holidays(country=country, years=2019)
assert issubclass(us_holidays.__class__, holidays.countries.united_states.UnitedStates) is True
assert len(us_holidays) == 10

with pytest.raises(AttributeError):
country_holidays("NotSupportedCountry")


def test_get_country_holidays_with_subdivisions():
# Test US holidays with a subdivision
Expand Down

0 comments on commit c1abbea

Please sign in to comment.