File tree Expand file tree Collapse file tree
tests/functionnal/example_scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 - name : Install tentacles from cli
4141 run : python start.py install_tentacles
4242
43+ - name : Build report templates
44+ run : |
45+ npm install
46+ npm run build
47+
4348 - name : Pytests
4449 run : pytest --cov=. --cov-config=.coveragerc --durations=0 -rw tests
4550
Original file line number Diff line number Diff line change 1818import pytest
1919import shutil
2020import tulipy
21+ import os
2122
2223import octobot_script as obs
24+ import octobot_script .resources as resources
2325import octobot_script .model .backtest_plot as backtest_plot
2426from octobot_script .api .ploting import generate_and_show_report
2527from tests .functionnal import one_day_btc_usdt_data
@@ -185,9 +187,6 @@ async def _reload_backtest_data(backtesting_data):
185187async def _check_report (res ):
186188 description = res .describe ()
187189 assert str (res .strategy_config ) in description
188- import os
189- import octobot_script .resources as resources
190-
191190 dist_index = resources .get_report_resource_path ("dist/index.html" )
192191 assert os .path .isfile (dist_index )
193192 report_result = await generate_and_show_report (res )
You can’t perform that action at this time.
0 commit comments