Skip to content

Commit c19d517

Browse files
committed
Add a couple short comments to new test module
1 parent e77fe0b commit c19d517

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CIME/tests/test_simple_compare.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ class TestSimpleCompare(unittest.TestCase):
77
def test_normalize_string_values(self):
88
test = "test.grid.compset.mach_compiler"
99
testid = "19991231_235959_abcdef"
10+
11+
# Test cases where _normalize_string_value() will normalize test
1012
for action in ["G", "C", "GC"]:
1113
assert (
1214
_normalize_string_value(f"{test}.{action}.{testid}", test)
1315
== f"{test}.ACTION.TESTID"
1416
)
17+
18+
# Test cases where _normalize_string_value() will not change test
1519
for action in ["GG", "CC", "CG"]:
1620
assert (
1721
_normalize_string_value(f"{test}.{action}.{testid}", test)

0 commit comments

Comments
 (0)