From 35286ea690b7600fd48b1170739e50c0ca509144 Mon Sep 17 00:00:00 2001 From: Nayane Fernandes <143632290+ansnfernand@users.noreply.github.com> Date: Wed, 10 Jul 2024 17:20:19 +0200 Subject: [PATCH] Fix test error --- tests/test_layer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_layer.py b/tests/test_layer.py index dcf0a1529..53e421d95 100644 --- a/tests/test_layer.py +++ b/tests/test_layer.py @@ -571,7 +571,7 @@ def helper_test_export_all_test_points(layer): try: result = layer.export_all_test_points( - "Tutorial Project", + "Test Point Test Project", "Main Board", test_points_file, ) @@ -579,11 +579,11 @@ def helper_test_export_all_test_points(layer): assert os.path.exists(test_points_file) assert result == 0 except Exception as e: - pytest.fail(e.message) + pytest.fail(str(e.error_array) if hasattr(e, "error_array") else str(e)) try: layer.export_all_test_points( - "Tutorial Project", + "Test Point Test Project", "Invalid CCA", test_points_file, )