Home
last modified time | relevance | path

Searched refs:mock_pipe (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/scripts/tests/twister/
Dtest_jobserver.py112 def mock_pipe(): function
148 mock.patch('os.pipe', mock_pipe), \
292 def mock_pipe(): function
334 mock.patch('os.pipe', mock_pipe), \
/Zephyr-latest/tests/subsys/modem/modem_ppp/src/
Dmain.c37 static struct modem_pipe *mock_pipe; variable
278 mock_pipe = modem_backend_mock_init(&mock, &mock_config); in test_modem_ppp_setup()
279 zassert_true(modem_pipe_open(mock_pipe, K_SECONDS(10)) == 0, "Failed to open mock pipe"); in test_modem_ppp_setup()
280 modem_ppp_attach(&ppp, mock_pipe); in test_modem_ppp_setup()
/Zephyr-latest/tests/subsys/modem/modem_chat/src/
Dmain.c30 static struct modem_pipe *mock_pipe; variable
282 mock_pipe = modem_backend_mock_init(&mock, &mock_config); in test_modem_chat_setup()
283 zassert(modem_pipe_open(mock_pipe, K_SECONDS(10)) == 0, "Failed to open mock pipe"); in test_modem_chat_setup()
284 zassert(modem_chat_attach(&cmd, mock_pipe) == 0, "Failed to attach pipe mock to modem CMD"); in test_modem_chat_setup()