Fix deleting repos when sec scan or signing is disabled
Make sure we don't invoke the APIs to non-existent endpoints
This commit is contained in:
parent
624d8e1851
commit
c5bb9abf11
4 changed files with 181 additions and 40 deletions
|
@ -2,7 +2,7 @@ import pytest
|
|||
|
||||
from peewee import IntegrityError
|
||||
|
||||
from data.model.repository import create_repository
|
||||
from data.model.repository import create_repository, purge_repository
|
||||
from test.fixtures import database_uri, init_db_path, sqlitedb_file
|
||||
|
||||
def test_duplicate_repository_different_kinds(database_uri):
|
||||
|
|
Reference in a new issue