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

Function messages

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

Source from the content-addressed store, hash-verified

155
156
157def messages(self, utils, db_utils):
158 response = self.tester.get(
159 'debugger/messages/' + str(self.trans_id) + '/',
160 content_type='application/json')
161 port = json.loads(response.data)['data']['result']
162 if not port:
163 close_debugger(self)
164 delete_function(self, utils)
165 db_utils.disconnect_database(
166 self, self.server_id, self.db_id)
167 self.skipTest('Debugger is in Busy state.')
168 else:
169 return port
170
171
172def start_execution(self, utils, db_utils):

Callers

nothing calls this directly

Calls 3

close_debuggerFunction · 0.85
delete_functionFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected