Skip to content

Commit

Permalink
add missing assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
jacadzaca committed Oct 15, 2022
1 parent e0c87b1 commit 5311870
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/icalendar/tests/test_encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def test_parses_event_with_non_ascii_tzid_issue_237(calendars, in_timezone):
"""
start = calendars.issue_237_fail_to_parse_timezone_with_non_ascii_tzid.walk('VEVENT')[0].decoded('DTSTART')
expected = in_timezone(datetime.datetime(2017, 5, 11, 13, 30), 'America/Sao_Paulo')
assert not calendars.issue_237_fail_to_parse_timezone_with_non_ascii_tzid.errors
assert start == expected

def test_parses_timezone_with_non_ascii_tzid_issue_237(timezones):
Expand Down

0 comments on commit 5311870

Please sign in to comment.