'If no C{message} argument is passed to the L{InfiniteRedirection}
constructor and C{code} isn\'t a valid HTTP status code, C{message} stays
L{None}.'

def test_noMessageInvalidStatusLocationExists(self):

    e = error.InfiniteRedirection('InvalidCode', location='/foo')
    self.assertEqual(e.message, None)
