Skip to content

Commit

Permalink
fixing a test
Browse files Browse the repository at this point in the history
  • Loading branch information
shayanaijaz committed Oct 18, 2023
1 parent f7c473c commit 55be3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/portal/libs/agave/operations_unit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_search(self, mock_search, mock_listing):
"name._exact, name._pattern"],
default_operator='and'))

mock_search().query().filter.assert_called_with('prefix', **{'path._exact': '/path'})
mock_search().query().filter.assert_called_with('prefix', **{'path._exact': 'path'})
mock_search().query().filter().filter.assert_called_with('term', **{'system._exact': 'test.system'})
mock_search().query().filter().filter().extra.assert_called_with(from_=int(0), size=int(100))
self.assertEqual(search_res, {'listing':
Expand Down

0 comments on commit 55be3f7

Please sign in to comment.