File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
investing_algorithm_framework Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -325,7 +325,10 @@ def _initialize_app_for_backtest(
325325 configuration_service .add_value (
326326 DATABASE_DIRECTORY_PATH ,
327327 os .path .join (
328- configuration_service .config [RESOURCE_DIRECTORY ], "backtest_databases"
328+ configuration_service .config [
329+ RESOURCE_DIRECTORY
330+ ],
331+ "backtest_databases"
329332 )
330333 )
331334
Original file line number Diff line number Diff line change 33
44from .app import App
55from .dependency_container import setup_dependency_container
6- from .domain import APP_MODE , AppMode
6+ from .domain import AppMode
77
88logger = logging .getLogger ("investing_algorithm_framework" )
99
Original file line number Diff line number Diff line change @@ -153,7 +153,9 @@ class FlaskTestBase(FlaskTestCase):
153153 def create_app (self ):
154154 self .resource_directory = os .path .dirname (__file__ )
155155 self .iaf_app : App = create_app (
156- {RESOURCE_DIRECTORY : self .resource_directory }, web = True
156+ {
157+ RESOURCE_DIRECTORY : self .resource_directory
158+ }
157159 )
158160 self .market_service .balances = self .external_balances
159161 self .market_service .orders = self .external_orders
You can’t perform that action at this time.
0 commit comments