Mark Goddard 611111b8bd Use unittest.mock instead of PyPI mock
Now that py2 is gone, oslotest dropped dependency on mock and will
soon affect Ussuri CI [1], let's use unittest.mock built in py3.

This also fixes py38 jobs and proactively prevents py36 and py37
failing due to [1]. This is because we never included mock in
test-requirements and instead relied on oslotest to bring it in.

[1] https://review.opendev.org/716322

Change-Id: I0c18b13c4e1fbaa9db41da4e2039ad908c28caa6
2020-04-03 10:22:39 +01:00
..
2020-03-19 11:23:39 +00:00
2019-01-14 10:15:04 +00:00
2017-02-28 16:17:54 +00:00
2020-02-20 15:28:56 +00:00
2019-12-06 13:47:01 +00:00
2018-11-05 18:12:36 +00:00
2018-05-04 15:11:23 +01:00