File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -613,7 +613,7 @@ def test_helps_rich(self):
613
613
Usage: ./manage.py routine import [OPTIONS] COMMAND [ARGS]...
614
614
615
615
Test Routine 1
616
- -----------------------------------
616
+ ----------------------------------
617
617
618
618
[0] track 2 | import, demo
619
619
[1] track 0 (verbosity=0) | import
@@ -658,10 +658,9 @@ def test_helps_no_rich(self):
658
658
659
659
routine = get_command ("routine" , TyperCommand , stdout = stdout , no_color = True )
660
660
routine .print_help ("./manage.py" , "routine" , "import" )
661
- self .assertEqual (
662
- stdout .getvalue ().strip ().replace ("\x08 " , "" ),
663
- self .routine_test_help_no_rich .strip (),
664
- )
661
+ printed = stdout .getvalue ().strip ().replace ("\x08 " , "" )
662
+ expected = self .routine_test_help_no_rich .strip ()
663
+ self .assertEqual (printed , expected )
665
664
666
665
def test_settings_format (self ):
667
666
routines = getattr (settings , ROUTINE_SETTING )
You can’t perform that action at this time.
0 commit comments