Move verbs security tests into pytest style
This commit is contained in:
parent
2f018046ec
commit
8ac20edfb2
5 changed files with 85 additions and 198 deletions
|
@ -15,6 +15,7 @@ from data.model.user import LoginWrappedDBUser
|
|||
from endpoints.api import api_bp
|
||||
from endpoints.appr import appr_bp
|
||||
from endpoints.web import web
|
||||
from endpoints.verbs import verbs as verbs_bp
|
||||
|
||||
from initdb import initialize_database, populate_database
|
||||
|
||||
|
@ -166,6 +167,7 @@ def app(appconfig, initialized_db):
|
|||
app.register_blueprint(api_bp, url_prefix='/api')
|
||||
app.register_blueprint(appr_bp, url_prefix='/cnr')
|
||||
app.register_blueprint(web, url_prefix='/')
|
||||
app.register_blueprint(verbs_bp, url_prefix='/c1')
|
||||
|
||||
app.config.update(appconfig)
|
||||
return app
|
||||
|
|
Reference in a new issue