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 @@ -70,6 +70,9 @@ def test_search(self):
7070 """
7171 os .environ ["SEARCH_RESULT_LIMIT" ] = "10"
7272
73+ # Ensure tenant handler cache is empty
74+ server .tenant_handler .handler_cache = {}
75+
7376 # Test result returned for matching filter
7477 status_code , json_data = self .get (
7578 '/fts/?filter=test_dataset,foreground&searchtext=searchstring' )
@@ -172,6 +175,9 @@ def test_search_templates(self):
172175 """
173176 os .environ ["SEARCH_RESULT_LIMIT" ] = "10"
174177
178+ # Ensure tenant handler cache is empty
179+ server .tenant_handler .handler_cache = {}
180+
175181 # Test result returned for matching filter
176182 status_code , json_data = self .get (
177183 '/fts/?filter=test_dataset,foreground&searchtext=searchstring\' $' )
You can’t perform that action at this time.
0 commit comments