def test_success(self):
        expected_result1 = object()
        expected_result2 = object()

        d = gather_deferreds(
            [succeed(expected_result1), succeed(expected_result2)])

        results = self.successResultOf(d)
        self.assertEqual([expected_result1, expected_result2], results)
The successful results of the supplied ``deferreds`` are returned.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/common/test/test_defer.py/GatherDeferredsTests.test_success