The version currently used is too old.
Also fix E275 "missing whitespace after keyword" newly detected.
Change-Id: I37e88d6b6bd707e9cc626e3625b9c034c7b5c553
This patch updates some packages version in lower-contraints.txt
to fix lower-constraint job. It also drops some linter from
lower-constraints.txt as not required for lower-constraints job.
Change-Id: If62522f716ae589d3b227ecdd1ea156090ca887a
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: I2d4d416d6b00d402819edf2eaed7ebd025e764f8
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Update local hacking checks for new flake8.
Remove hacking and friends from lower-constraints, they are not needed
for installation.
Change-Id: Ib6f30427e736ff488598e80e87ce0a8b39e92f33
horizon recently switched from the third-party mock to unittest.mock.
This breaks heat-dashboard unit tests somehow.
We no longer support py27 and we can use the standard library
unittest.mock module. Rather than investigating the cause of
the failure, it would be nice to switch to unittest.mock.
horizon dependency is updated to 18.3.1 as unittest.mock is used
since 18.3.0 and 18.3.0 has an issue that it always requires pytest.
lower-constraints is updated to match horizon requirements.
hacking local-check-factory is disabled temporarily due to
the incompatibility with hacking 2.0 or later.
https://review.opendev.org/#/c/715690/ will recover it.
Change-Id: I517d6d7d36410c64bf48ad958b3e2115725a6491
This patch adds basic tests to verify that heat-dashboard is
installed and could be opened.
heat-dashboard-integration-tests job is added in a
non-voting mode.
Depends-On: https://review.openstack.org/634712
Change-Id: I2550d6fcd1ce4e05502f247e227aaec05e762fcb
The porting of mock is complete. This fullfills the
community goal
200~"Remove Use of mox/mox3 for Testing" set for Rocky:
https://governance.openstack.org/tc/goals/rocky/mox_removal.html
This commit does the following code:
- Remove dead code that was previously used by mox.
- Raise the requirement to the Rocky M2 relase of Horizon.
- Convert the clients to use mock.
Change-Id: I33521b4bc8e873d50b1d2390e544eea0923dca4f
Signed-off-by: Chuck Short <chucks@redhat.com>
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: I25cb4aa6558c599d3c1e334c5281dcb6ca7e3b9f
Instead of using tox-install.sh, we can install horizon and neutron
now directly from pypi - or use the current branch in CI system using
tox-siblings.
Update tox.ini for this change and add horizon to requirements file.
Change-Id: I898fb222f5b36714c61e60c222e8b57ddea99df6