'When C{code}, C{message}, and C{uri} are passed to the
L{RedirectWithNoLocation} constructor, the C{message} and C{uri}
attributes are set, respectively.'

def test_validMessage(self):

    e = error.RedirectWithNoLocation('302', 'REDIRECT', 'https://example.com')
    self.assertEqual(e.message, 'REDIRECT    to    https://example.com')
    self.assertEqual(e.uri, 'https://example.com')
