(self)
| 2067 | self.loop.run_until_complete(self.con.execute(create_script)) |
| 2068 | |
| 2069 | def tearDown(self): |
| 2070 | # Reset cluster's pg_hba.conf since we've meddled with it |
| 2071 | self.cluster.trust_local_connections() |
| 2072 | |
| 2073 | drop_script = [] |
| 2074 | drop_script.append('REVOKE ALL ON SCHEMA public FROM ssl_user;') |
| 2075 | drop_script.append('DROP ROLE ssl_user;') |
| 2076 | drop_script = '\n'.join(drop_script) |
| 2077 | self.loop.run_until_complete(self.con.execute(drop_script)) |
| 2078 | |
| 2079 | super().tearDown() |
| 2080 | |
| 2081 | def _add_hba_entry(self): |
| 2082 | raise NotImplementedError() |
no test coverage detected