Skip to content

Commit

Permalink
Update test_arrow.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesboi951 authored and krisfremen committed Jul 22, 2022
1 parent 9e0736d commit 0df342c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/test_arrow.py
Expand Up @@ -3080,6 +3080,28 @@ def test_value_error_exception(self):
target.span("week", week_start=55)


class TestIanaTimeZone:
def test_acdt(self):
sample_string = "Austrailian Central Daylight Time"
test_string = arrow.Arrow.iana_timezone("ACDT")
assert sample_string == test_string

def test_acst(self):
sample_string = "Australian Central Standard Time"
test_string = arrow.Arrow.iana_timezone("ACST")
assert sample_string == test_string

def test_adt(self):
sample_string = "Atlantic Daylight Time"
test_string = arrow.Arrow.iana_timezone("ADT")
assert sample_string == test_string

def test_aedt(self):
sample_string = "Australian Eastern Daylight Time"
test_string = arrow.Arrow.iana_timezone("AEDT")
assert sample_string == test_string


class TestArrowUtil:
def test_get_datetime(self):

Expand Down

0 comments on commit 0df342c

Please sign in to comment.