Messages in this thread | | | From | Brendan Higgins <> | Date | Thu, 14 Jan 2021 14:24:20 -0800 | Subject | Re: [PATCH v2 1/4] kunit: tool: fix unit test cleanup handling |
| |
On Wed, Dec 2, 2020 at 11:09 AM Daniel Latypov <dlatypov@google.com> wrote: > > * Stop leaking file objects. > * Use self.addCleanup() to ensure we call cleanup functions even if > setUp() fails. > * use mock.patch.stopall instead of more error-prone manual approach > > Signed-off-by: Daniel Latypov <dlatypov@google.com>
Tested-by: Brendan Higgins <brendanhiggins@google.com> Acked-by: Brendan Higgins <brendanhiggins@google.com>
| |