Verified Commit 47e14cdf authored by Huste, Tobias (FWCC) - 111645's avatar Huste, Tobias (FWCC) - 111645
Browse files

fix tests by properly registering invenio-search-ui

parent c59d1cbb
Pipeline #7674 passed with stages
in 15 minutes and 46 seconds
......@@ -74,6 +74,9 @@ from invenio_files_rest.models import Bucket, FileInstance, Location, \
from invenio_i18n import InvenioI18N
from invenio_records import InvenioRecords
from invenio_rest import InvenioREST
from invenio_search import InvenioSearch
from invenio_search_ui import InvenioSearchUI
from invenio_search_ui.bundles import css, js
from invenio_theme import InvenioTheme
from invenio_uploadbyurl import InvenioUploadByURL
......@@ -114,11 +117,16 @@ InvenioAccounts(app)
InvenioAccess(app)
InvenioRecords(app)
InvenioREST(app)
InvenioAssets(app)
InvenioSearch(app)
InvenioSearchUI(app)
assets = InvenioAssets(app)
InvenioDeposit(app)
InvenioFilesREST(app)
InvenioUploadByURL(app)
assets.env.register('invenio_search_ui_search_js', js)
assets.env.register('invenio_search_ui_search_css', css)
app.register_blueprint(blueprint_api)
app.register_blueprint(blueprint_settings)
app.register_blueprint(blueprint_accounts)
......
......@@ -36,6 +36,7 @@ tests_require = [
'invenio-i18n>=1.0.0',
'invenio-theme>=1.0.0',
'invenio-mail>=1.0.0',
'invenio-search-ui>=1.0.0',
'isort>=4.3.3',
'pydocstyle>=1.0.0',
'pytest-cache>=1.0',
......@@ -88,7 +89,6 @@ install_requires = [
'pexpect>=4.0.1',
'redis>=2.10.5',
'requests>=2.18.1',
'webargs>=1.1.1',
]
packages = find_packages()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment