Is there a more easy way to get this path when mocking functions?
@mock.patch('folder1.folder2.file.class.get_some_information', side_effect=mocked_information)
I would like to have the path for the function get_some_information generated automatically. Thanks!
Helper package to generate paths for mocking: github.com/pksol/mock_autogen#generating-the-arrange-section
Mock patch path to function