From 55be3f7519b2617855b14242c2dbf77c4366b545 Mon Sep 17 00:00:00 2001 From: shayanaijaz Date: Wed, 18 Oct 2023 17:32:35 -0500 Subject: [PATCH] fixing a test --- server/portal/libs/agave/operations_unit_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/portal/libs/agave/operations_unit_test.py b/server/portal/libs/agave/operations_unit_test.py index 269826025..81ddfaa85 100644 --- a/server/portal/libs/agave/operations_unit_test.py +++ b/server/portal/libs/agave/operations_unit_test.py @@ -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':