#NEWLINE# def test_bang( self ) : #NEWLINE# #INDENT# '\n        The I{exec} command is run for lines which start with C{"!"}.\n        ' #NEWLINE# self . database . addUser ( getpass . getuser ( ) , 'secret' , os . getuid ( ) , 1234 , 'foo' , 'bar' , '/bin/sh' ) #NEWLINE# d = self . client . _dispatchCommand ( '!echo hello' ) #NEWLINE# d . addCallback ( self . assertEqual , 'hello\n' ) #NEWLINE# return self