#NEWLINE# def testTooFewArgumentsFails( self ) : #NEWLINE# #INDENT# 'Ensures logging commands fail with too few arguments.' #NEWLINE# stderr = self . RunGsUtil ( self . _enable_log_cmd , return_stderr = True , expected_status = 1 ) #NEWLINE# self . assertIn ( 'command requires at least' , stderr ) #NEWLINE# stderr = self . RunGsUtil ( self . _disable_log_cmd , return_stderr = True , expected_status = 1 ) #NEWLINE# self . assertIn ( 'command requires at least' , stderr ) #NEWLINE# stderr = self . RunGsUtil ( self . _get_log_cmd , return_stderr = True , expected_status = 1 ) #NEWLINE# self . assertIn ( 'command requires at least' , self ) #NEWLINE# stderr = self . RunGsUtil ( [ 'logging' ] , return_stderr = True , expected_status = 1 ) #NEWLINE# self . assertIn ( 'command requires at least' , stderr )