'L{defer.maybeDeferred} should retrieve the result of a synchronous
function and pass it to its resulting L{defer.Deferred}.'

def test_maybeDeferredSync(self):

    (S, E) = ([], [])
    d = defer.maybeDeferred((lambda x: (x + 5)), 10)
    d.addCallbacks(S.append, E.append)
    self.assertEqual(E, [])
    self.assertEqual(S, [15])
