@@ -5544,7 +5544,10 @@ class TestMyAppCase(Cmd2TestCase):
55445544 verinfo = "." .join (map (str , sys .version_info [:3 ]))
55455545 num_transcripts = len (transcripts_expanded )
55465546 plural = '' if len (transcripts_expanded ) == 1 else 's'
5547- self .poutput (su .align_center (' cmd2 transcript test ' , character = self .ruler ), style = Style (bold = True ))
5547+ self .poutput (
5548+ Rule ("cmd2 transcript test" , style = Style .null ()),
5549+ style = Style (bold = True ),
5550+ )
55485551 self .poutput (f'platform { sys .platform } -- Python { verinfo } , cmd2-{ cmd2 .__version__ } , readline-{ rl_type } ' )
55495552 self .poutput (f'cwd: { os .getcwd ()} ' )
55505553 self .poutput (f'cmd2 app: { sys .argv [0 ]} ' )
@@ -5560,9 +5563,8 @@ class TestMyAppCase(Cmd2TestCase):
55605563 execution_time = time .time () - start_time
55615564 if test_results .wasSuccessful ():
55625565 self .perror (stream .read (), end = "" , style = None )
5563- finish_msg = f' { num_transcripts } transcript{ plural } passed in { execution_time :.3f} seconds '
5564- finish_msg = su .align_center (finish_msg , character = self .ruler )
5565- self .psuccess (finish_msg )
5566+ finish_msg = f'{ num_transcripts } transcript{ plural } passed in { execution_time :.3f} seconds'
5567+ self .psuccess (Rule (finish_msg , style = Style .null ()))
55665568 else :
55675569 # Strip off the initial traceback which isn't particularly useful for end users
55685570 error_str = stream .read ()
0 commit comments