# HG changeset patch # User Mads Kiilerich # Date 2020-04-30 13:49:02 # Node ID 33427561b389d79a4fb928f0b946d85f24f11911 # Parent 4a4e4a4985183d97ad9ff285117e2e8672c61d86 tests: avoid test dependency in test_repo_groups.py diff --git a/kallithea/tests/models/test_repo_groups.py b/kallithea/tests/models/test_repo_groups.py --- a/kallithea/tests/models/test_repo_groups.py +++ b/kallithea/tests/models/test_repo_groups.py @@ -63,7 +63,7 @@ class TestRepoGroups(base.TestController assert self.__check_path('newGroup') - def test_create_same_name_group(self): + # test_create_same_name_group with pytest.raises(IntegrityError): fixture.create_repo_group('newGroup') Session().rollback()