Skip to content

Commit 7aa81ad

Browse files
committed
test(cli): align init test with my_strategy.py and root data_providers.py
1 parent 691a147 commit 7aa81ad

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

tests/cli/test_initialize.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,16 @@ def _assert_common_files(self):
5858
# Strategy directory exists
5959
self.assertTrue(os.path.isdir(strategy_dir))
6060

61-
# strategy.py
61+
# my_strategy.py (rendered from strategy.py.template)
6262
self._assert_file_matches_template(
63-
os.path.join(strategy_dir, "strategy.py"),
63+
os.path.join(strategy_dir, "my_strategy.py"),
6464
"strategy.py.template"
6565
)
6666

67-
# data_providers.py
67+
# data_providers.py lives at the project root (so app.py,
68+
# notebooks and strategies can all import it the same way)
6869
self._assert_file_matches_template(
69-
os.path.join(strategy_dir, "data_providers.py"),
70+
self._output_path("data_providers.py"),
7071
"data_providers.py.template"
7172
)
7273

0 commit comments

Comments
 (0)