An error occurred while fetching folder content.
SW-381: Mocking needs the path to the object not the source
Thomas Jürges
authored
Reminder for myself: Mocking is odd and does not follow common sense. When I want to mock out a function joe that is imported into foo.bar like this: from there.here.willy import joe then I have to mock it like so: @mock.patch("foo.bar.joe") Common sense would tell to mock it like so: @mock.patch("there.here.willy.joe")
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name | Last commit | Last update |
---|---|---|
.. |