We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 691a147 commit 7aa81adCopy full SHA for 7aa81ad
1 file changed
tests/cli/test_initialize.py
@@ -58,15 +58,16 @@ def _assert_common_files(self):
58
# Strategy directory exists
59
self.assertTrue(os.path.isdir(strategy_dir))
60
61
- # strategy.py
+ # my_strategy.py (rendered from strategy.py.template)
62
self._assert_file_matches_template(
63
- os.path.join(strategy_dir, "strategy.py"),
+ os.path.join(strategy_dir, "my_strategy.py"),
64
"strategy.py.template"
65
)
66
67
- # data_providers.py
+ # data_providers.py lives at the project root (so app.py,
68
+ # notebooks and strategies can all import it the same way)
69
- os.path.join(strategy_dir, "data_providers.py"),
70
+ self._output_path("data_providers.py"),
71
"data_providers.py.template"
72
73
0 commit comments