(self, utils, close_debugger_instance=True)
| 107 | |
| 108 | |
| 109 | def initialize_target(self, utils, close_debugger_instance=True): |
| 110 | target_url = '/debugger/initialize_target/{0}/'.format(self.type) |
| 111 | response = self.tester.post( |
| 112 | target_url + str(self.trans_id) + '/' + str(self.server_id) + |
| 113 | '/' + str(self.db_id) + '/' + str(self.schema_id) + |
| 114 | '/' + str(self.func_id), |
| 115 | content_type='application/json') |
| 116 | |
| 117 | if response.status_code == 200: |
| 118 | return response |
| 119 | else: |
| 120 | if close_debugger_instance: |
| 121 | close_debugger(self) |
| 122 | |
| 123 | delete_function(self, utils) |
| 124 | self.skipTest('The debugger plugin is not enabled. Please add the ' |
| 125 | 'plugin to the shared_preload_libraries setting in the ' |
| 126 | 'postgresql.conf file and restart the database server ' |
| 127 | 'for indirect debugging.') |
| 128 | |
| 129 | |
| 130 | def start_listener(self, utils, db_utils): |
nothing calls this directly
no test coverage detected