Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #11 from AusDTO/sharing-is-caring
Browse files Browse the repository at this point in the history
Fixes for new shared utils
  • Loading branch information
sarneaud authored Aug 8, 2016
2 parents 3e89a38 + dfcb242 commit ba86441
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dmutils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from . import logging, config, proxy_fix, formats, request_id
from .flask_init import init_app, init_manager
from .flask_init import init_app, init_frontend_app, init_manager

import flask_featureflags

__version__ = '24.2.0'
__version__ = '24.4.1'
2 changes: 1 addition & 1 deletion dmutils/flask_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def inject_global_template_variables():
**(application.config['BASE_TEMPLATE_DATA'] or {}))


def init_frontend_app(application, login_manager):
def init_frontend_app(application, data_api_client, login_manager):

def request_log_handler(response):
params = {
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ def setup(self):
self.flask = Flask('test_app', template_folder='tests/templates/')
self.login_manager = LoginManager()
init_app(self.flask, Config)
init_frontend_app(self.flask, self.login_manager)
init_frontend_app(self.flask, None, self.login_manager)
self.app = self.flask.test_client()

0 comments on commit ba86441

Please sign in to comment.