'If no C{message} argument is passed to the L{InfiniteRedirection}
constructor and the C{code} argument is a valid HTTP status code,
C{code} is mapped to a descriptive string to which C{message} is
assigned.'

def test_noMessageValidStatus(self):

    e = error.InfiniteRedirection('200', location='/foo')
    self.assertEqual(e.message, 'OK    to    /foo')
