Skip to content

Commit

Permalink
Resolved error in tests (caused by invalid ISO 8601 parsing in python…
Browse files Browse the repository at this point in the history
… < 3.7) 🚒
  • Loading branch information
Sibyx committed Dec 16, 2019
1 parent 391966f commit c09073a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_valid.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def test_valid(rf: RequestFactory):
}
],
'metadata': {
'created_at': datetime.datetime.strptime('2019-10-21T18:57:03+01:00', "%Y-%m-%dT%H:%M:%S%z"),
'updated_at': datetime.datetime.strptime('2019-10-21T18:57:03+01:00', "%Y-%m-%dT%H:%M:%S%z"),
'created_at': datetime.datetime.strptime('2019-10-21T18:57:03+0100', "%Y-%m-%dT%H:%M:%S%z"),
'updated_at': datetime.datetime.strptime('2019-10-21T18:57:03+0100', "%Y-%m-%dT%H:%M:%S%z"),
}
}

Expand Down

0 comments on commit c09073a

Please sign in to comment.