Skip to content

Commit

Permalink
fix test due to new behaviour of dir in Py3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarloromeo committed Aug 15, 2024
1 parent 00048e4 commit cdb3c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/director-v2/tests/unit/test_core_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


def _get_backend_type_options() -> set[str]:
return {x for x in dir(S3Provider) if not x.startswith("_")}
return {x.value for x in S3Provider if not x.startswith("_")}


def test_supported_backends_did_not_change() -> None:
Expand Down

0 comments on commit cdb3c75

Please sign in to comment.