comparison tox.ini @ 6144:e56d11a19d3c

tests: admin_users: make sure repo group is deleted test_delete_repo_group_err creates then deletes a repository group. However, if the delete fails the repository group remains. This later causes problems in the model tests. Introduce a pytest yield fixture to handle the creation _and_ deletion of the repository group (suggested by Søren Løvborg). The creation of the user needs to happen _before_ that of the user group, and we cannot share data between two pytest fixtures, so the user is created in the fixture as well.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Fri, 19 Aug 2016 22:38:19 +0200
parents dd676fdeda0f
children ab30729c735c
comparison
equal deleted inserted replaced
6143:4d7dcd25c149 6144:e56d11a19d3c