Work towards fixing tests
This commit is contained in:
parent
e872c310d0
commit
1145651b7a
2 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,7 @@ def _raise_unauthorized(repository, scopes):
|
|||
|
||||
|
||||
def _get_reponame_kwargs(*args, **kwargs):
|
||||
return [kwargs['namespace_name'], kwargs['repo_name']]
|
||||
return [kwargs['namespace'], kwargs['package_name']]
|
||||
|
||||
|
||||
def disallow_for_image_repository(get_reponame_method=_get_reponame_kwargs):
|
||||
|
|
|
@ -18,6 +18,8 @@ from endpoints.appr import appr_bp, registry
|
|||
from endpoints.appr.cnr_backend import QuayDB, Channel, Package
|
||||
from initdb import wipe_database, initialize_database, populate_database
|
||||
|
||||
application.register_blueprint(appr_bp, url_prefix='/cnr')
|
||||
|
||||
|
||||
# TODO: avoid direct usage of database
|
||||
def create_org(namespace, owner):
|
||||
|
|
Reference in a new issue