Skip to content

Commit 0df342c

Browse files
jamesboi951krisfremen
authored andcommitted
Update test_arrow.py
1 parent 9e0736d commit 0df342c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

tests/test_arrow.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3080,6 +3080,28 @@ def test_value_error_exception(self):
30803080
target.span("week", week_start=55)
30813081

30823082

3083+
class TestIanaTimeZone:
3084+
def test_acdt(self):
3085+
sample_string = "Austrailian Central Daylight Time"
3086+
test_string = arrow.Arrow.iana_timezone("ACDT")
3087+
assert sample_string == test_string
3088+
3089+
def test_acst(self):
3090+
sample_string = "Australian Central Standard Time"
3091+
test_string = arrow.Arrow.iana_timezone("ACST")
3092+
assert sample_string == test_string
3093+
3094+
def test_adt(self):
3095+
sample_string = "Atlantic Daylight Time"
3096+
test_string = arrow.Arrow.iana_timezone("ADT")
3097+
assert sample_string == test_string
3098+
3099+
def test_aedt(self):
3100+
sample_string = "Australian Eastern Daylight Time"
3101+
test_string = arrow.Arrow.iana_timezone("AEDT")
3102+
assert sample_string == test_string
3103+
3104+
30833105
class TestArrowUtil:
30843106
def test_get_datetime(self):
30853107

0 commit comments

Comments
 (0)