Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix committed Nov 12, 2024
1 parent 0d8c333 commit 2e9185b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_server_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,12 @@ async def test_server_auth_jwt_1(self):
''')
await conn.aclose()

with self.assertRaisesRegex(
edgedb.AuthenticationError,
'authentication failed: no authorization data provided',
):
await sd.connect()

# bad secret keys
with self.assertRaisesRegex(
edgedb.AuthenticationError,
Expand Down

0 comments on commit 2e9185b

Please sign in to comment.