def test_asynchronousImplicitChain(self):
        first = defer.Deferred()
        second = defer.Deferred()
        second.addCallback(lambda ign: first)
        second.callback(None)

        firstResult = []
        first.addCallback(firstResult.append)
        secondResult = []
        second.addCallback(secondResult.append)

        self.assertEquals(firstResult, [])
        self.assertEquals(secondResult, [])

        result = object()
        first.callback(result)

        self.assertEquals(firstResult, [None])
        self.assertEquals(secondResult, [result])
Create a schema with various privileges
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_defer.py/DeferredTestCase.test_asynchronousImplicitChain--crossover with--dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_privs.py/PrivilegeToSqlTestCase.test_create_schema