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

def test_noMessageInvalidStatus(self):

    e = error.Error('InvalidCode')
    self.assertEqual(e.message, None)
