Home
last modified time | relevance | path

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

/Zephyr-latest/scripts/tests/twister/
Dtest_quarantine.py71 expected_exception, argument
74 if expected_exception:
75 with pytest.raises(expected_exception):
Dtest_testsuite.py627 expected_exception, argument
662 pytest.raises(type(expected_exception)) if \
663 expected_exception else nullcontext() as exception:
671 if expected_exception:
672 assert str(expected_exception) == str(exception.value)
Dtest_handlers.py1263 expected_exception, argument
1269 if expected_exception:
1270 raise expected_exception('')
1288 pytest.raises(expected_exception) if expected_exception else \
1298 if expected_exception:
/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_error.py70 def test_test(self, out_path, testroot, test, expected_exception): argument
81 pytest.raises(expected_exception) as exc:
84 if expected_exception == SystemExit:
Dtest_testplan.py59 def test_subtest(self, out_path, test, expected_exception, expected_subtest_count): argument
68 pytest.raises(expected_exception) as exc:
71 if expected_exception != SystemExit:
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/device/
Dhardware_adapter_test.py201 …with pytest.raises(expected_exception=TwisterHarnessException, match='Could not flash device p_id'…