Merge pull request #2152 from YunfanZhang42/host_filter_case_insensitive

Make search in Smart Filter case insensitive.
This commit is contained in:
Yunfan Zhang
2018-06-13 16:21:00 -04:00
committed by GitHub
3 changed files with 10 additions and 7 deletions

View File

@@ -47,3 +47,6 @@ def test_q1(inventory_structure, get, user):
query = '(name="host1" and groups__name="g1") or (name="host3" and groups__name="g2")'
evaluate_query(query, [hosts[0], hosts[2]])
# The following test verifies if the search in host_filter is case insensitive.
query = 'search="HOST1"'
evaluate_query(query, [hosts[0]])