Skip to content

Commit e5f41a4

Browse files
felipmartinsadamghill
authored andcommitted
adds creation of templates/unicorn to ignore starring message
1 parent 584f2bb commit e5f41a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/management/commands/startunicorn/test_handle.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def test_handle_existing_component(settings, tmp_path, monkeypatch, capsys):
8585

8686
(tmp_path / app_name).mkdir()
8787
(tmp_path / app_name / "components").mkdir()
88+
(tmp_path / app_name / "templates" / "unicorn").mkdir(parents=True)
8889

8990
component_names = [
9091
"hello-world",
@@ -111,7 +112,7 @@ def test_handle_existing_templates(settings, tmp_path, monkeypatch, capsys):
111112

112113
(tmp_path / app_name).mkdir()
113114
(tmp_path / app_name / "components").mkdir()
114-
(tmp_path / app_name / "templates").mkdir()
115+
(tmp_path / app_name / "templates" / "unicorn").mkdir(parents=True)
115116

116117
component_names = [
117118
"hello-world",

0 commit comments

Comments
 (0)