diff --git a/pybis/src/python/tests/test_group.py b/pybis/src/python/tests/test_group.py
index 9e3268332131fe216aa8479ba01bd9125e8807d1..cb3e8dad9fd2cb8b55de3e054437e8e837d6dfeb 100644
--- a/pybis/src/python/tests/test_group.py
+++ b/pybis/src/python/tests/test_group.py
@@ -27,12 +27,12 @@ def test_crud_group(openbis_instance, group):
     changed_description = 'changed description of group ' + group.code
     group.description = changed_description
     group.save()
-    group_changed = openbis_instance.get_group(code=group.code)
+    group_changed = openbis_instance.get_group(group.code)
     assert group_changed.description == changed_description
 
     group.delete('test')
     with pytest.raises(ValueError):
-        group_not_exists = openbis_instance.get_group(code=group.code)
+        group_not_exists = openbis_instance.get_group(group.code)
         assert group_not_exists is None