Skip to content
Snippets Groups Projects
Commit b3cec44b authored by Swen Vermeul's avatar Swen Vermeul
Browse files

...

parent 4fab8094
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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