'Test that a slot with a deferred as its value will be flattened using
the value from the deferred.'

def test_serializeDeferredSlots(self):

    t = tags.p(slot('test'))
    t.fillSlots(test=succeed(tags.em('four>')))
    return self.assertFlattensTo(t, '<p><em>four&gt;</em></p>')
