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

Function start_execution

web/pgadmin/tools/debugger/tests/utils.py:172–184  ·  view source on GitHub ↗
(self, utils, db_utils)

Source from the content-addressed store, hash-verified

170
171
172def start_execution(self, utils, db_utils):
173 response = self.tester.get(
174 'debugger/start_execution/' + str(self.trans_id) + '/' + str(
175 self.port_no), content_type='application/json')
176
177 if response.status_code != 200:
178 close_debugger(self)
179 delete_function(self, utils)
180 db_utils.disconnect_database(
181 self, self.server_id, self.db_id)
182 self.skipTest('Debugger is in Busy state.')
183
184 self.assertEqual(response.status_code, 200)
185
186
187def set_breakpoint(self):

Callers

nothing calls this directly

Calls 3

close_debuggerFunction · 0.85
delete_functionFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected