def test_invalid_status(self):
    status = support.SupportStatus(status='RANDOM', message='test_message', version='test_version', previous_status=support.SupportStatus())
    self.assertEqual(support.UNKNOWN, status.status)
    self.assertEqual('Specified status is invalid, defaulting to UNKNOWN', status.message)
    self.assertIsNone(status.version)
    self.assertIsNone(status.previous_status)
    self.assertEqual({'status': 'UNKNOWN', 'message': 'Specified status is invalid, defaulting to UNKNOWN', 'version': None, 'previous_status': None}, status.to_dict())
def test_invalid_status(self):
    status = support.SupportStatus(status='RANDOM', message='test_message', version='test_version', previous_status=support.SupportStatus())
    self.assertEqual(support.UNKNOWN, status.status)
    self.assertEqual('Specified status is invalid, defaulting to UNKNOWN', status.message)
    self.assertIsNone(status.version)
    self.assertIsNone(status.previous_status)
    self.assertEqual({'status': 'UNKNOWN', 'message': 'Specified status is invalid, defaulting to UNKNOWN', 'version': None, 'previous_status': None}, status.to_dict())