8000 Target session attr (2) by JesseDeLoore · Pull Request #987 · MagicStack/asyncpg · GitHub
[go: up one dir, main page]

Skip to content

Target session attr (2) #987

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
May 8, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add some more fixes that were already implemented
  • Loading branch information
B4D4
Jesse De Loore committed Dec 16, 2022
commit 277ed968a3c672a24fb192ba1500f49af2f258d0
2 changes: 2 additions & 0 deletions tests/test_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,7 @@ def setUp(self):

create_script = []
create_script.append('CREATE ROLE ssl_user WITH LOGIN;')
create_script.append('GRANT ALL ON SCHEMA public TO ssl_user;')

self._add_hba_entry()

Expand All @@ -1304,6 +1305,7 @@ def tearDown(self):
self.cluster.trust_local_connections()

drop_script = []
drop_script.append('REVOKE ALL ON SCHEMA public FROM ssl_user;')
drop_script.append('DROP ROLE ssl_user;')
drop_script = '\n'.join(drop_script)
self.loop.run_until_complete(self.con.execute(drop_script))
Expand Down
0