Skip to content
Snippets Groups Projects
Commit 8fd2e2eb authored by Megan Henning's avatar Megan Henning
Browse files

Delete tag fix in tests

parent 0224b350
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@ def with_hierarchy(api_as_admin, bunch, request, data_builder):
data_builder.delete_project(project)
data_builder.delete_group(group)
request.addfinalizer(teardown_db)
fixture_data = bunch.create()
......@@ -254,7 +253,7 @@ def test_add_rename_remove_group_tag(with_hierarchy, data_builder, api_as_admin)
assert r.ok and tag_renamed in json.loads(r.content)['tags']
# Delete tag
r = api_as_admin.put('/groups/' + data.group + '/tags/' + tag_renamed, data=payload)
r = api_as_admin.delete('/groups/' + data.group + '/tags/' + tag_renamed)
assert r.ok
r = api_as_admin.get('/groups/' + data.group)
......
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