We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f64f4f4 commit baed9edCopy full SHA for baed9ed
tests/test_options.py
@@ -217,3 +217,11 @@ def test_merge_apis_duplicate_apis():
217
for actual_item in merged_apis:
218
assert (actual_item in expected_output
219
), f"Unexpected item {actual_item} found in the merged list"
220
+
221
+def test_supported_region_enum_uses_str_representation():
222
+ """
223
+ Test SupportedRegion enum values are converted to their
224
+ string values for representation.
225
226
+ assert options.SupportedRegion.US_CENTRAL1 == "us-central1"
227
+ assert f"{options.SupportedRegion.US_CENTRAL1}" == "us-central1"
0 commit comments