We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05a2c28 commit ecbe0feCopy full SHA for ecbe0fe
1 file changed
python/ctsm/test/test_sys_subset_data.py
@@ -40,6 +40,10 @@ def tearDown(self):
40
def _check_result_file_matches_expected(self, expected_output_files, caller_n):
41
"""
42
Loop through a list of output files, making sure they match what we expect.
43
+
44
+ caller_n should be an integer giving the number of levels above this function you need to
45
+ traverse before you hit the actual test name. If the test is calling this function directly,
46
+ caller_n = 1. If the test is calling a function that calls this function, caller_n = 2. Etc.
47
48
all_files_present_and_match = True
49
for basename in expected_output_files:
0 commit comments