Lines Matching refs:pytest
13 import pytest
24 @pytest.fixture
29 @pytest.fixture(name='device')
40 @pytest.fixture(name='launched_device')
74 with pytest.raises(TwisterHarnessTimeoutException, match='Read from device timeout occurred'):
87 with pytest.raises(TwisterHarnessException, match=exception_msg):
96 with pytest.raises(TwisterHarnessException, match='Exception message'):
105 with pytest.raises(TwisterHarnessException, match='fake_file.txt'):
114 with pytest.raises(TwisterHarnessException, match='Raised other exception'):
119 caplog: pytest.LogCaptureFixture, launched_device: NativeSimulatorAdapter
149 with pytest.raises(TwisterHarnessException, match='Cannot connect to not working device'):
151 with pytest.raises(TwisterHarnessException, match='No connection to the device'):
154 …with pytest.raises(TwisterHarnessException, match='No connection to the device and no more data to…
163 with pytest.raises(TwisterHarnessException, match='No connection to the device'):
166 …with pytest.raises(TwisterHarnessException, match='No connection to the device and no more data to…
215 with pytest.raises(TwisterHarnessException, match='west not found'):