#NEWLINE# def test_finish_user( self ) : #NEWLINE# #INDENT# "If we finish a user, he doesn't exist anymore" #NEWLINE# ( status , reservation1_id ) = self . coordinator . reserve_experiment ( ExperimentId ( 'exp1' , 'cat1' ) , DEFAULT_TIME , DEFAULT_PRIORITY , True , DEFAULT_INITIAL_DATA , DEFAULT_REQUEST_INFO , DEFAULT_CONSUMER_DATA ) #NEWLINE# expected_status = WSS . WaitingConfirmationQueueStatus ( reservation1_id , DEFAULT_URL ) #NEWLINE# self . assertEquals ( expected_status , status ) #NEWLINE# self . coordinator . finish_reservation ( reservation1_id ) #NEWLINE# self . assertRaises ( CoordExc . ExpiredSessionError , self . coordinator . get_reservation_status , reservation1_id )