Home
last modified time | relevance | path

Searched refs:expected_exception (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.6.0/scripts/tests/twister_blackbox/
Dtest_error.py58 def test_test(self, out_path, testroot, test, expected_exception): argument
69 pytest.raises(expected_exception) as exc:
72 if expected_exception == SystemExit:
Dtest_testplan.py94 def test_subtest(self, out_path, test, expected_exception, expected_subtest_count): argument
103 pytest.raises(expected_exception) as exc:
106 if expected_exception != SystemExit:
/Zephyr-Core-3.6.0/scripts/tests/twister/
Dtest_quarantine.py71 expected_exception, argument
74 if expected_exception:
75 with pytest.raises(expected_exception):
Dtest_testsuite.py611 expected_exception, argument
643 pytest.raises(type(expected_exception)) if \
644 expected_exception else nullcontext() as exception:
652 if expected_exception:
653 assert str(expected_exception) == str(exception.value)
Dtest_handlers.py1184 expected_exception, argument
1190 if expected_exception:
1191 raise expected_exception('')
1207 pytest.raises(expected_exception) if expected_exception else \
1216 if expected_exception:
/Zephyr-Core-3.6.0/scripts/pylib/pytest-twister-harness/tests/device/
Dhardware_adapter_test.py164 …with pytest.raises(expected_exception=TwisterHarnessException, match='Could not flash device p_id'…