Skip to content
Snippets Groups Projects
Commit 57ddbbb0 authored by Sascha Klawohn's avatar Sascha Klawohn
Browse files

Fix filter format in test_groups

parent e87dac67
No related branches found
No related tags found
1 merge request!1979Get groups filters
Pipeline #213517 passed
......@@ -65,16 +65,16 @@ def test_get_groups(
pytest.param(
{'group_id': ['group1', 'group2']}, ['group1', 'group2'], id='ids'
),
pytest.param({'search_terms': ['Uniq']}, ['uniq'], id='uniq'),
pytest.param({'search_terms': ['iq']}, ['uniq'], id='uniq-partial'),
pytest.param({'search_terms': ['Twin']}, ['twin1', 'twin2'], id='twins'),
pytest.param({'search_terms': ['Twin One']}, ['twin1'], id='twin1'),
pytest.param({'search_terms': 'Uniq'}, ['uniq'], id='uniq'),
pytest.param({'search_terms': 'iq'}, ['uniq'], id='uniq-partial'),
pytest.param({'search_terms': 'Twin'}, ['twin1', 'twin2'], id='twins'),
pytest.param({'search_terms': 'Twin One'}, ['twin1'], id='twin1'),
pytest.param(
{'search_terms': ['One']}, ['twin1', 'numerals'], id='twin1-numerals'
{'search_terms': 'One'}, ['twin1', 'numerals'], id='twin1-numerals'
),
pytest.param({'search_terms': ['One Two']}, ['numerals'], id='numerals'),
pytest.param({'search_terms': 'One Two'}, ['numerals'], id='numerals'),
pytest.param(
{'search_terms': ['Tw']}, ['twin1', 'twin2', 'numerals'], id='tw-partial'
{'search_terms': 'Tw'}, ['twin1', 'twin2', 'numerals'], id='tw-partial'
),
],
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment