Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@mock.patch('path.os')
def test_patch_import2(self, os_mocked):
current_path()
os_mocked.getcwd.assert_called_once()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment