From 57ddbbb0b2a861f9d2af3f91050ea6dfbb698ecd Mon Sep 17 00:00:00 2001 From: Sascha Klawohn <sascha.klawohn@physik.hu-berlin.de> Date: Wed, 24 Jul 2024 11:43:25 +0200 Subject: [PATCH] Fix filter format in test_groups --- tests/app/v1/routers/test_groups.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/app/v1/routers/test_groups.py b/tests/app/v1/routers/test_groups.py index 399306bdd5..0e55c65057 100644 --- a/tests/app/v1/routers/test_groups.py +++ b/tests/app/v1/routers/test_groups.py @@ -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' ), ], ) -- GitLab