#NEWLINE# def verify_has_examples( command , subcommand ) : #NEWLINE# #INDENT# t = _ExampleTests ( methodName = 'noop_test' ) #NEWLINE# t . setUp ( ) #NEWLINE# try : #NEWLINE# #INDENT# t . driver . main ( [ command , command , 'help' ] ) #NEWLINE# t . assert_contains_with_count ( '========\nExamples\n========' , 1 ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# t . tearDown ( )