def test_simple_mock(mocker):
    to_mock = mocker.patch('second_package.my_second_module.to_mock', return_value=2)
    assert my_second_module.to_test_1(1) == 2
    print(to_mock.call_args)
    to_mock.assert_called_once_with(1)
def test_no_mock():
    assert my_second_module.to_test_1(1) == 1