File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
def test_quality_flags ():
6
6
# Assert that quality is the default when not specifying it
7
- parsed = parse_args (' manim dummy_filename' .split ())
7
+ parsed = parse_args (" manim dummy_filename" .split ())
8
8
9
9
assert parsed .quality == constants .DEFAULT_QUALITY_SHORT
10
10
assert _determine_quality (parsed ) == constants .DEFAULT_QUALITY
@@ -25,7 +25,9 @@ def test_quality_flags():
25
25
assert quality == _determine_quality (parsed )
26
26
27
27
# Assert that quality is properly set when using --quality *
28
- arguments = f"manim --quality { constants .QUALITIES [quality ]} dummy_filename" .split ()
28
+ arguments = (
29
+ f"manim --quality { constants .QUALITIES [quality ]} dummy_filename" .split ()
30
+ )
29
31
parsed = parse_args (arguments )
30
32
31
33
assert parsed .quality == constants .QUALITIES [quality ]
@@ -39,7 +41,7 @@ def test_quality_flags():
39
41
assert quality == _determine_quality (parsed )
40
42
41
43
# Assert that *_quality is False when not specifying it
42
- parsed = parse_args (' manim dummy_filename' .split ())
44
+ parsed = parse_args (" manim dummy_filename" .split ())
43
45
44
46
assert not getattr (parsed , quality )
45
47
assert _determine_quality (parsed ) == constants .DEFAULT_QUALITY
You can’t perform that action at this time.
0 commit comments