Skip to content

Commit

Permalink
Apply Matilda's comments
Browse files Browse the repository at this point in the history
Co-authored-by: Matilda Åslin <[email protected]>
  • Loading branch information
Aratz and matrulda committed Oct 13, 2022
1 parent 2806f6f commit 728cfbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/integration_tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def mock_delivery(cmd):
dds_output = json.dumps([{
"Access": True,
"Last updated": "Fri, 01 Jul 2022 14:31:13 CEST",
"PI": "[email protected]",
"PI": "[email protected]",
"Project ID": "snpseq00025",
"Size": 25856185058,
"Status": "In Progress",
Expand Down
5 changes: 3 additions & 2 deletions tests/unit_tests/services/test_dds.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,14 +363,15 @@ def test_get_dds_project_title(self):
mock_dds_project = [{
"Access": True,
"Last updated": "Fri, 01 Jul 2022 14:31:13 CEST",
"PI": "[email protected]",
"PI": "[email protected]",
"Project ID": "snpseq00025",
"Size": 25856185058,
"Status": "In Progress",
"Title": "AB1234"
}]

with patch( 'delivery.models.project.DDSProject._run',
with patch(
'delivery.models.project.DDSProject._run',
new_callable=AsyncMock,
return_value=json.dumps(mock_dds_project),
):
Expand Down

0 comments on commit 728cfbc

Please sign in to comment.