Skip to content

Commit cc6090b

Browse files
authored
Include unit tests
1 parent cb1af43 commit cc6090b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: tests/test_options.py

+8
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,11 @@ def test_merge_apis_duplicate_apis():
217217
for actual_item in merged_apis:
218218
assert (actual_item in expected_output
219219
), 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

Comments
 (0)