-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bruno Grande
committed
May 1, 2023
1 parent
70c9bc7
commit a906559
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from datetime import datetime, timezone | ||
|
||
from orca.services.nextflowtower import utils | ||
|
||
|
||
def test_that_parse_datetime_works(): | ||
result = utils.parse_datetime("2023-04-26T00:49:49Z") | ||
assert result == datetime(2023, 4, 26, 0, 49, 49, tzinfo=timezone.utc) |