Skip to content

Commit

Permalink
Merge pull request #1471 from Sage-Bionetworks/develop-fix-async-syna…
Browse files Browse the repository at this point in the history
…pse-store-test

fix: updated test after updating to synapse python client 4.4.0 and updated test after test resources get updated on synapse
  • Loading branch information
linglp authored Aug 26, 2024
2 parents e3905cf + 9935b01 commit 887a053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,4 +798,4 @@ def test_get_manifest_with_files(self, helpers, component, datasetId):
assert n_rows == 4
elif component == "BulkRNA-seqAssay":
assert filename_in_manifest_columns
assert n_rows == 3
assert n_rows == 4
2 changes: 1 addition & 1 deletion tests/test_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ async def test_store_async_annotation(self, synapse_store: SynapseStorage) -> No
) as mock_store_async:
result = await synapse_store.store_async_annotation(annos_dict)

mock_store_async.assert_called_once_with(synapse_store.syn)
mock_store_async.assert_called_once_with(synapse_client=synapse_store.syn)
assert result == expected_dict
assert isinstance(result, Annotations)

Expand Down

0 comments on commit 887a053

Please sign in to comment.