File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ def test_search(self):
5656 """
5757 os .environ ["SEARCH_RESULT_LIMIT" ] = "10"
5858
59+ # Ensure tenant handler cache is empty
60+ server .tenant_handler .handler_cache = {}
61+
5962 # Test result returned for matching filter
6063 status_code , json_data = self .get (
6164 '/fts/?filter=test_dataset,dataproduct&searchtext=searchstring' )
@@ -117,6 +120,9 @@ def test_search_templates(self):
117120 """
118121 os .environ ["SEARCH_RESULT_LIMIT" ] = "10"
119122
123+ # Ensure tenant handler cache is empty
124+ server .tenant_handler .handler_cache = {}
125+
120126 # Test result returned for matching filter
121127 status_code , json_data = self .get (
122128 '/fts/?filter=test_dataset,foreground&searchtext=searchstring\' $' )
You can’t perform that action at this time.
0 commit comments