MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / assert_status_code

Function assert_status_code

web/regression/python_test_utils/test_utils.py:1351–1354  ·  view source on GitHub ↗
(self, response)

Source from the content-addressed store, hash-verified

1349
1350
1351def assert_status_code(self, response):
1352 act_res = response.status_code
1353 exp_res = self.expected_data["status_code"]
1354 return self.assertEqual(act_res, exp_res)
1355
1356
1357def assert_error_message(self, response, error_msg=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected