The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: I837241a34505496a3a152d72f28f23687ded1088
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I12b935504b1c0e11d41ac3683f6a1d8580f7dd75
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I6a4340d71e934cad5d9c2337e4728c6900fdd924
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.
The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.
Change-Id: I616966db07033dded5a6de5e432b5876f015a234
Apart of the mox3 community goal for rocky.
Change-Id: Ia9b0ac4af9d963001f546352f40692f2ba115cf2
Signed-off-by: Charles Short <zulcss@gmail.com>
Co-Authored-By: Shu Muto <shu.mutow@gmail.com>
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: I5de43845fdd29a8fc6eddb6564c20da2a47c6581
The older hacking library has a cap on pbr <2.0, with the recent 2.0.0
release of PBR it's causing failures in the pep8 job. hacking isn't
kept in sync via the typical proposal-bot updates. Do it manually to
clear the gate issue.
Change-Id: Iceb3aca107f067de568b26beacfccebe55c9e7bd
Related-Bug: #1668848