12 Mar
2020
12 Mar
'20
2:25 p.m.
Hi,
On 12 Mar 2020, at 17:00, Matthew Thode <mthode@mthode.org> wrote:
I'd like to suggest, now that we are on modern python, that we stop using the mock library and instead use the built in mock library.
It sounds like good candidate for community goal for the next cycle for me :)
unittest.mock has been around since python-3.3 so we should not have a problem with python support. This would allow us to drop a library and also help prevent issues with stuff like https://review.opendev.org/712713 is going to expose (nova/neutron fail tests with the external mock-4 library).
-- Matthew Thode
— Slawek Kaplonski Senior software engineer Red Hat