Improve usage of mocks in testing #1987
Labels
enhancement
New functionality that should be added to the Safe Haven
needs decision
Requires dev team to come to an agreement on how to proceed
release: non-essential
Issues that at not essential to close for a release
Milestone
There are several ways in which we could improve our use of mocks:
I think I used this kind of pattern before I realised
Mock.assert_called()
and related methods existed.Originally posted by @JimMadge in #1982 (comment)
Better consolidation of default config files/objects
Clarity about the best way to mock objects with complex
__init__
sThe text was updated successfully, but these errors were encountered: