(self)
| 1833 | self.loop.run_until_complete(self.con.execute(create_script)) |
| 1834 | |
| 1835 | def tearDown(self): |
| 1836 | # Reset cluster's pg_hba.conf since we've meddled with it |
| 1837 | self.cluster.trust_local_connections() |
| 1838 | |
| 1839 | drop_script = [] |
| 1840 | drop_script.append('REVOKE ALL ON SCHEMA public FROM ssl_user;') |
| 1841 | drop_script.append('DROP ROLE ssl_user;') |
| 1842 | drop_script = '\n'.join(drop_script) |
| 1843 | self.loop.run_until_complete(self.con.execute(drop_script)) |
| 1844 | |
| 1845 | super().tearDown() |
| 1846 | |
| 1847 | def _add_hba_entry(self): |
| 1848 | raise NotImplementedError() |
no test coverage detected