diff --git a/pulpcore/tests/functional/api/test_crud_domains.py b/pulpcore/tests/functional/api/test_crud_domains.py index 966ef4da86..6fe88f2afe 100644 --- a/pulpcore/tests/functional/api/test_crud_domains.py +++ b/pulpcore/tests/functional/api/test_crud_domains.py @@ -5,7 +5,7 @@ import string import json from pulpcore.client.pulpcore import ApiException -from pulpcore.app import settings +from django.conf import settings from pulpcore.tests.functional.utils import PulpTaskError @@ -59,7 +59,7 @@ def test_default_domain(pulpcore_bindings): # Read the default domain, ensure storage is set to default default_domain = domains.results[0] assert default_domain.name == "default" - assert default_domain.storage_class == settings.STORAGES["default"]["BACKEND"] + assert default_domain.storage_class == settings.storages.default.backend assert default_domain.redirect_to_object_storage == settings.REDIRECT_TO_OBJECT_STORAGE assert default_domain.hide_guarded_distributions == settings.HIDE_GUARDED_DISTRIBUTIONS