From 662ca1f0127c4320c00c1dc00e154a28fd267286 Mon Sep 17 00:00:00 2001 From: Eli Zrihen Date: Wed, 11 Dec 2024 21:52:31 +0200 Subject: [PATCH] using assertTestError --- test/core/phase_executor_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/core/phase_executor_test.py b/test/core/phase_executor_test.py index be46a65b..9f2b2c35 100644 --- a/test/core/phase_executor_test.py +++ b/test/core/phase_executor_test.py @@ -70,4 +70,4 @@ def phase_excp_run_if(): phase = openhtf.PhaseOptions(run_if=run_if_with_exception)( phase_excp_run_if) record = self.execute_phase_or_test(openhtf.Test(phase)) - self.assertEqual(record.outcome, test_record.Outcome.ERROR) + self.assertTestError(record)