Skip to content

Commit

Permalink
Fix exception type check for ed25512 plugin test
Browse files Browse the repository at this point in the history
  • Loading branch information
9EOR9 committed Aug 16, 2020
1 parent c2d96a9 commit ffeb8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/test/integration/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def test_ed25519(self):
try:
create_connection({"user": "eduser", "password": "MySup8%rPassw@ord", "plugin_dir": "wrong_plugin_dir"})
self.fail("wrong plugin directory, must not have found authentication plugin")
except (mariadb.DatabaseError, mariadb.ProgrammingError):
except (mariadb.OperationalError):
pass
cursor.execute("DROP USER IF EXISTS eduser")
del cursor, conn2
Expand Down

0 comments on commit ffeb8b9

Please sign in to comment.