Skip to content

Commit 9156f4b

Browse files
committed
Update python integration test to expect UTC as per spec
1 parent a7721d6 commit 9156f4b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • Laboratory/Integration/Python/src

Laboratory/Integration/Python/src/lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from schema import Library, Instrument, Album, StudioAlbum, LiveAlbum, Song, Musician
2-
from datetime import datetime
2+
from datetime import datetime, timezone
33
from uuid import UUID
44

55
def make_lib():
@@ -24,7 +24,7 @@ def make_lib():
2424

2525
adams_apple_album = LiveAlbum()
2626
adams_apple_album.venueName = "Tunisia"
27-
adams_apple_album.concertDate = datetime.fromtimestamp(528205479)
27+
adams_apple_album.concertDate = datetime.fromtimestamp(528205479, tz=timezone.utc)
2828

2929
unnamed_song = Song()
3030
unnamed_song.year = 1965

0 commit comments

Comments
 (0)