'The get_config_warning() method should return a RedirectWarning'

def test_20_get_config_warning(self):

    res = self.ResConfig.get_config_warning(self.error_msg)
    self.assertIsInstance(res, exceptions.RedirectWarning)
    self.assertEqual(res.args[0], self.expected_final_error_msg)
    self.assertEqual(res.args[1], self.expected_action_id)
