Fix unit test pollution when calling apply patches
* When mocking, we may setup patches that are not cleaned up properly
and causes test pollutions. Ensure that we do tearDown properly and
raise a condition if we are not.
Signed-off-by: NMarbin Tan <mtan@pivotal.io>
Showing
想要评论请 注册 或 登录