Skip to content

Commit

Permalink
revert asset.data is None in gateway_test
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham3121 committed Jul 18, 2024
1 parent 9c56616 commit 6566332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/network/gateway_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def test_dataset_search(set_env_var, gateway_port: int, datasite_1_port: int) ->
assert isinstance(dataset, Dataset)
assert len(dataset.assets) == 1
assert isinstance(dataset.assets[0].mock, np.ndarray)
assert isinstance(dataset.assets[0].data, SyftError)
assert dataset.assets[0].data is None

# search a wrong dataset should return an empty list
wrong_search = sy.search(_random_hash())
Expand Down

0 comments on commit 6566332

Please sign in to comment.