def pre_run_inject(mock_utils): mocker = mock_utils.Mocker() mock_utils.mock_default_device_calls(mocker) def post_run(tb): pass