mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 16:40:35 +00:00
The tests in test_permissions.py use the new_session() utility function to create a new connection with a different logged-in user. It models the new connection on the existing one, but incorrectly assumed that the connection is NOT ssl. This made this test failed with cql-pytest/run is passed the "--ssl" option. In this patch we correctly infer the is_ssl state from the existing cql fixture, instead of assuming it is false. After this pass, "cql-pytest/run --ssl" works as expected for this test. Signed-off-by: Nadav Har'El <nyh@scylladb.com> Closes #11742