Searched refs:expected_exception (Results  1 – 7 of 7) sorted by relevance
| /Zephyr-latest/scripts/tests/twister/ | 
| D | test_platform.py | 194     expected_exception,  argument 361     with pytest.raises(type(expected_exception)) if \ 362           expected_exception else nullcontext() as exception: 365     if expected_exception: 366         if expected_exception.args: 367             assert str(expected_exception) == str(exception.value)
  | 
| D | test_quarantine.py | 71     expected_exception,  argument 74     if expected_exception: 75         with pytest.raises(expected_exception):
  | 
| D | test_testsuite.py | 627     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)
  | 
| D | test_handlers.py | 1263     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/ | 
| D | test_error.py | 70     def test_test(self, out_path, testroot, test, expected_exception):  argument 81                 pytest.raises(expected_exception) as exc: 84         if expected_exception == SystemExit:
  | 
| D | test_testplan.py | 59     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/ | 
| D | hardware_adapter_test.py | 201 …with pytest.raises(expected_exception=TwisterHarnessException, match='Could not flash device p_id'…
  |