Skip to content

Commit

Permalink
fixup: fix fixture access to storage settings
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-psb committed Dec 5, 2024
1 parent 20dcd4e commit 8619556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pulpcore/pytest_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def _settings_factory(storage_class=None, storage_settings=None):
"AZURE_CONNECTION_STRING",
]
settings = storage_settings or dict()
backend = storage_class or settings.STORAGES["default"]["BACKEND"]
backend = storage_class or pulp_settings.STORAGES["default"]["BACKEND"]
for key in keys[backend]:
if key not in settings:
settings[key] = getattr(pulp_settings, key, None)
Expand Down

0 comments on commit 8619556

Please sign in to comment.