Skip to content
Snippets Groups Projects
Commit eff8940b authored by Eliott Sammier's avatar Eliott Sammier
Browse files

Identify sub-tests

parent 3adb97c8
No related branches found
No related tags found
No related merge requests found
......@@ -15,10 +15,10 @@ class CompareFiles(unittest.TestCase):
def runTest(self) -> None:
for file in TESTS_DIR.rglob("*"): # Recursively find all files
if file.is_file():
with self.subTest():
relative = file.relative_to(TESTS_DIR)
with self.subTest(msg=relative):
# ex: for a file `TESTS_DIR/pg60/index.md`, will find the first file in
# `RESULT_DIR` whose path ends with `pg60/index.md`
relative = file.relative_to(TESTS_DIR)
cmd = subprocess.run(
[
"find",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment