-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
13 changed files
with
59 additions
and
45 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
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
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
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
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
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
import hashlib | ||
import sys | ||
from datetime import datetime | ||
from datetime import datetime, timezone | ||
|
||
import pytest | ||
|
||
|
@@ -75,7 +75,7 @@ def test_client_with_link(tmp_path): | |
accessGroups=["group1"], | ||
contactEmail="[email protected]", | ||
creationLocation="UU", | ||
creationTime=datetime(2023, 6, 23, 10, 0, 0), | ||
creationTime=datetime(2023, 6, 23, 10, 0, 0, tzinfo=timezone.utc), | ||
numberOfFiles=1, | ||
numberOfFilesArchived=0, | ||
owner="PonderStibbons", | ||
|
@@ -92,7 +92,7 @@ def test_client_with_link(tmp_path): | |
path="file1.txt", | ||
size=len(content), | ||
chk=checksum, | ||
time=datetime(2023, 6, 23, 10, 0, 0), | ||
time=datetime(2023, 6, 23, 10, 0, 0, tzinfo=timezone.utc), | ||
) | ||
], | ||
datasetId=ds.pid, | ||
|
@@ -134,7 +134,7 @@ def test_client_with_link_local_file_exists(tmp_path): | |
accessGroups=["group1"], | ||
contactEmail="[email protected]", | ||
creationLocation="UU", | ||
creationTime=datetime(2023, 6, 23, 10, 0, 0), | ||
creationTime=datetime(2023, 6, 23, 10, 0, 0, tzinfo=timezone.utc), | ||
numberOfFiles=1, | ||
numberOfFilesArchived=0, | ||
owner="PonderStibbons", | ||
|
@@ -151,7 +151,7 @@ def test_client_with_link_local_file_exists(tmp_path): | |
path="file1.txt", | ||
size=len(content), | ||
chk=checksum, | ||
time=datetime(2023, 6, 23, 10, 0, 0), | ||
time=datetime(2023, 6, 23, 10, 0, 0, tzinfo=timezone.utc), | ||
) | ||
], | ||
datasetId=ds.pid, | ||
|
@@ -195,7 +195,7 @@ def test_client_with_link_local_file_exists_clashing_content(tmp_path): | |
accessGroups=["group1"], | ||
contactEmail="[email protected]", | ||
creationLocation="UU", | ||
creationTime=datetime(2023, 6, 23, 10, 0, 0), | ||
creationTime=datetime(2023, 6, 23, 10, 0, 0, tzinfo=timezone.utc), | ||
numberOfFiles=1, | ||
numberOfFilesArchived=0, | ||
owner="PonderStibbons", | ||
|
@@ -212,7 +212,7 @@ def test_client_with_link_local_file_exists_clashing_content(tmp_path): | |
path="file1.txt", | ||
size=len(content), | ||
chk=checksum, | ||
time=datetime(2023, 6, 23, 10, 0, 0), | ||
time=datetime(2023, 6, 23, 10, 0, 0, tzinfo=timezone.utc), | ||
) | ||
], | ||
datasetId=ds.pid, | ||
|
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 |
---|---|---|
|
@@ -401,7 +401,7 @@ def test_client_with_sftp( | |
access_groups=["group1"], | ||
contact_email="[email protected]", | ||
creation_location="UU", | ||
creation_time=datetime(2023, 6, 23, 10, 0, 0), | ||
creation_time=datetime(2023, 6, 23, 10, 0, 0, tzinfo=timezone.utc), | ||
owner="PonderStibbons", | ||
owner_group="uu", | ||
principal_investigator="MustrumRidcully", | ||
|
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