File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -3070,6 +3070,28 @@ def test_value_error_exception(self):
30703070 target .span ("week" , week_start = 55 )
30713071
30723072
3073+ class TestIanaTimeZone :
3074+ def test_acdt (self ):
3075+ sample_string = "Austrailian Central Daylight Time"
3076+ test_string = arrow .Arrow .iana_timezone ("ACDT" )
3077+ assert sample_string == test_string
3078+
3079+ def test_acst (self ):
3080+ sample_string = "Australian Central Standard Time"
3081+ test_string = arrow .Arrow .iana_timezone ("ACST" )
3082+ assert sample_string == test_string
3083+
3084+ def test_adt (self ):
3085+ sample_string = "Atlantic Daylight Time"
3086+ test_string = arrow .Arrow .iana_timezone ("ADT" )
3087+ assert sample_string == test_string
3088+
3089+ def test_aedt (self ):
3090+ sample_string = "Australian Eastern Daylight Time"
3091+ test_string = arrow .Arrow .iana_timezone ("AEDT" )
3092+ assert sample_string == test_string
3093+
3094+
30733095class TestArrowUtil :
30743096 def test_get_datetime (self ):
30753097
You can’t perform that action at this time.
0 commit comments