From 89163f2915dc16a082bb8a60969b2e489f67184e Mon Sep 17 00:00:00 2001 From: chris meyers Date: Tue, 17 Mar 2020 10:08:00 -0400 Subject: [PATCH] remove redis broker url test * We use sockets everywhere. Thus, password special characters no longer are an issue. --- awx/main/tests/functional/api/test_settings.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/awx/main/tests/functional/api/test_settings.py b/awx/main/tests/functional/api/test_settings.py index 723b942c94..e96b0a72d6 100644 --- a/awx/main/tests/functional/api/test_settings.py +++ b/awx/main/tests/functional/api/test_settings.py @@ -386,14 +386,3 @@ def test_saml_x509cert_validation(patch, get, admin, headers): } }) assert resp.status_code == 200 - - -@pytest.mark.django_db -def test_broker_url_with_special_characters(): - settings.BROKER_URL = 'redis://unused:a@ns:ibl3#@redis-fancy:5672/?db=mydb' - cli = redis.from_url(settings.BROKER_URL) - assert cli.host == 'redis-fancy' - assert cli.port == 5672 - # Note: There are no usernames in redis - assert cli.password == 'a@ns:ibl3#' - assert cli.db == 'mydb'