(self, response, error_msg=None)
| 1355 | |
| 1356 | |
| 1357 | def assert_error_message(self, response, error_msg=None): |
| 1358 | act_res = response.json["errormsg"] |
| 1359 | if error_msg is not None: |
| 1360 | exp_res = error_msg |
| 1361 | else: |
| 1362 | exp_res = self.expected_data["error_msg"] |
| 1363 | return self.assertEqual(act_res, exp_res) |
| 1364 | |
| 1365 | |
| 1366 | def create_expected_output(parameters, actual_data): |
nothing calls this directly
no outgoing calls
no test coverage detected