#NEWLINE# def testOper( self ) : #NEWLINE# #INDENT# user = wFD ( self . _loggedInUser ( 'useruser' ) ) #NEWLINE# ( yield user ) #NEWLINE# user = user . getResult ( ) #NEWLINE# user . transport . clear ( ) #NEWLINE# user . write ( 'OPER user pass\r\n' ) #NEWLINE# response = self . _response ( user ) #NEWLINE# self . assertEquals ( len ( response ) , 1 ) #NEWLINE# self . assertEquals ( response [ 0 ] [ 1 ] , '491' )