File tree Expand file tree Collapse file tree 4 files changed +0
-212
lines changed Expand file tree Collapse file tree 4 files changed +0
-212
lines changed Original file line number Diff line number Diff line change 9
9
from .cli .checkhealth .commands import checkhealth
10
10
from .cli .default_group import DefaultGroup
11
11
from .cli .init .commands import init
12
- from .cli .new .group import new
13
12
from .cli .plugins .commands import plugins
14
13
from .cli .render .commands import render
15
14
from .constants import EPILOG
@@ -52,7 +51,6 @@ def main(ctx):
52
51
main .add_command (cfg )
53
52
main .add_command (plugins )
54
53
main .add_command (init )
55
- main .add_command (new )
56
54
main .add_command (render )
57
55
58
56
if __name__ == "__main__" :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -135,24 +135,3 @@ def test_manim_init_scene(tmp_path):
135
135
assert (Path (tmp_dir ) / "main.py" ).exists ()
136
136
file_content = (Path (tmp_dir ) / "main.py" ).read_text ()
137
137
assert "DefaultFileTestScene(Scene):" in file_content
138
-
139
-
140
- def test_manim_new_command ():
141
- command = ["new" ]
142
- runner = CliRunner ()
143
- result = runner .invoke (main , command , prog_name = "manim" )
144
- expected_output = """\
145
- Usage: manim new [OPTIONS] COMMAND [ARGS]...
146
-
147
- (Deprecated) Create a new project or insert a new scene.
148
-
149
- Options:
150
- --help Show this message and exit.
151
-
152
- Commands:
153
- project Creates a new project.
154
- scene Inserts a SCENE to an existing FILE or creates a new FILE.
155
-
156
- Made with <3 by Manim Community developers.
157
- """
158
- assert dedent (expected_output ) == result .output
You can’t perform that action at this time.
0 commit comments