Searched refs:expected_exception (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.6.0/scripts/tests/twister_blackbox/ |
D | test_error.py | 58 def test_test(self, out_path, testroot, test, expected_exception): argument 69 pytest.raises(expected_exception) as exc: 72 if expected_exception == SystemExit:
|
D | test_testplan.py | 94 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/ |
D | test_quarantine.py | 71 expected_exception, argument 74 if expected_exception: 75 with pytest.raises(expected_exception):
|
D | test_testsuite.py | 611 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)
|
D | test_handlers.py | 1184 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/ |
D | hardware_adapter_test.py | 164 …with pytest.raises(expected_exception=TwisterHarnessException, match='Could not flash device p_id'…
|