def test_list_sessions_found(self):

        _, reservation1_id = self.coordinator.reserve_experiment(ExperimentId("exp1","cat1"), DEFAULT_TIME, DEFAULT_PRIORITY, True, DEFAULT_INITIAL_DATA, DEFAULT_REQUEST_INFO, DEFAULT_CONSUMER_DATA)
        _, reservation2_id = self.coordinator.reserve_experiment(ExperimentId("exp1","cat1"), DEFAULT_TIME, DEFAULT_PRIORITY, True, DEFAULT_INITIAL_DATA, DEFAULT_REQUEST_INFO, DEFAULT_CONSUMER_DATA)
        _, reservation3_id = self.coordinator.reserve_experiment(ExperimentId("exp1","cat1"), DEFAULT_TIME, DEFAULT_PRIORITY, True, DEFAULT_INITIAL_DATA, DEFAULT_REQUEST_INFO, DEFAULT_CONSUMER_DATA)

        result = self.coordinator.list_sessions( ExperimentId('exp1','cat1') )
        self.assertEquals( {
                reservation1_id : WSS.WaitingConfirmationQueueStatus("reservation_id", DEFAULT_URL),
                reservation2_id : WSS.WaitingConfirmationQueueStatus("reservation_id", DEFAULT_URL),
                reservation3_id : WSS.WaitingQueueStatus("reservation_id", 0)
            }, result )
Generic accumulator function.
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/test/unit/weblab/core/coordinator/test_coordinator.py/AbstractCoordinatorTestCase.test_list_sessions_found--crossover with--dataset/ETHPy150Open jjangsangy/py-translate/translate/coroutines.py/accumulator