Skip to content

Commit

Permalink
fix(backend): 全局搜索单元测试修复 TencentBlueKing#7824
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 committed Nov 8, 2024
1 parent daa098f commit 656bad7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_quick_search_for_storage_instance(self, resource_list_mock, query, init
result = [cluster.get("ip") for cluster in response.data.get("machine")]
assert init_storage_instance.machine.ip in result

@pytest.mark.parametrize("query", [QUICK_SEARCH_CONTAINS_PARAMS, QUICK_SEARCH_EXACT_PARAMS])
@pytest.mark.parametrize("query", [QUICK_SEARCH_EXACT_PARAMS])
@patch.object(DBResourceApi, "resource_list")
def test_quick_search_for_task(self, resource_list_mock, query, init_flow_tree):
"""
Expand Down

0 comments on commit 656bad7

Please sign in to comment.