From 96e8b5f2a25a36777f7ff0d8161efc2468e8973f Mon Sep 17 00:00:00 2001 From: "Ilya V. Portnov" Date: Sun, 10 Nov 2024 12:02:39 +0500 Subject: [PATCH] More explicit tests skipping. --- tests/json_import_tests.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/json_import_tests.py b/tests/json_import_tests.py index 890436485a..4bd1e74ff0 100644 --- a/tests/json_import_tests.py +++ b/tests/json_import_tests.py @@ -107,11 +107,9 @@ def test_import_examples(self): # assuming these are all jsons for now. name = basename(path) - if name in UNITTEST_SKIPLIST: - sv_logger.info(f"Skipping test import of: {name} - the tree in the skip list") - continue - with self.subTest(file=name): + if name in UNITTEST_SKIPLIST: + self.skipTest("The tree in the skip list") # info("Importing: %s", name) with self.temporary_node_tree("ImportedTree") as new_tree: # Do not try to process imported tree,