#NEWLINE# def assert_sent_command( self , expected_cmd_type , **expected_cmd_args ) : #NEWLINE# #INDENT# ( client_cmd_type , client_cmd_args ) = self . connection . _outgoing_commands . popleft ( ) #NEWLINE# self . assert_commands_equal ( client_cmd_type , expected_cmd_type ) #NEWLINE# self . assertEqual ( client_cmd_args , expected_cmd_args )