Update PR for rebase
This commit is contained in:
parent
08673a03e2
commit
ac4a79ae01
6 changed files with 6 additions and 7 deletions
|
@ -4,9 +4,9 @@ import pytest
|
|||
from flask import url_for
|
||||
|
||||
from data import model
|
||||
from endpoints.test.fixtures import app, appconfig, database_uri, init_db_path, sqlitedb_file
|
||||
from endpoints.appr.registry import appr_bp, blobs
|
||||
from endpoints.api.test.shared import client_with_identity
|
||||
from test.fixtures import app, appconfig, database_uri, init_db_path, sqlitedb_file
|
||||
|
||||
@pytest.mark.parametrize('resource,method,params,owned_by,identity,expected', [
|
||||
('appr.blobs', 'GET', {'digest': 'abcd1235'}, 'devtable', 'public', 401),
|
||||
|
|
|
@ -3,8 +3,8 @@ import pytest
|
|||
from werkzeug.exceptions import NotImplemented as NIE
|
||||
|
||||
from data import model
|
||||
from endpoints.test.fixtures import app, appconfig, database_uri, init_db_path, sqlitedb_file
|
||||
from endpoints.appr import require_app_repo_read
|
||||
from test.fixtures import app, appconfig, database_uri, init_db_path, sqlitedb_file
|
||||
|
||||
def test_require_app_repo_read(app):
|
||||
called = [False]
|
|
@ -1,11 +1,10 @@
|
|||
import json
|
||||
import pytest
|
||||
|
||||
from flask import url_for
|
||||
|
||||
from data import model
|
||||
from endpoints.test.fixtures import app, appconfig, database_uri, init_db_path, sqlitedb_file
|
||||
from endpoints.appr.registry import appr_bp
|
||||
from test.fixtures import app, appconfig, database_uri, init_db_path, sqlitedb_file
|
||||
|
||||
def test_invalid_login(app, client):
|
||||
app.register_blueprint(appr_bp, url_prefix='/cnr')
|
||||
|
|
Reference in a new issue