Skip to content

Commit e77fe0b

Browse files
committed
Add a few more unit tests
Test a few cases where we expect _normalize_string_value() to return the original string
1 parent 3700d30 commit e77fe0b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

CIME/tests/test_simple_compare.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ def test_normalize_string_values(self):
1212
_normalize_string_value(f"{test}.{action}.{testid}", test)
1313
== f"{test}.ACTION.TESTID"
1414
)
15+
for action in ["GG", "CC", "CG"]:
16+
assert (
17+
_normalize_string_value(f"{test}.{action}.{testid}", test)
18+
== f"{test}.{action}.{testid}"
19+
)

0 commit comments

Comments
 (0)