Remove test-setup.sh as with zuul it is not necessary, and would like to
use mysqladmin which is not available on some nodesets.
Fix failing unit tests with a possible typo and change auto_spec to
autospec in calling mock.patch.object.
Change-Id: Idd7b6788152a336314d5b99ae89f5049182a269c
Make the code compatible with hacking rules:
* import order problems
* line break before/after binary operator (for this added ignore for
W504, line break after binary operator
* indentation problems
I removed the rule N530 (Direct neutron imports not allowed), as that is
a longer story.
Fix mysql syntax in tools/test-setup.sh
Fix constraints files for testing on focal
Change-Id: Iacb12d5add773404468e2b755cf95c4e6e54ec99
Depends-On: https://review.opendev.org/#/c/708965/
Depends-On: https://review.opendev.org/752416
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 neutron to requirements file.
This commit includes the following unrelated changes
to pass the gate.
----------------------------------------
devstack: Use setup_develop to install
As this project is in the global requirements now,
we need to edit the constraints.
Change-Id: I44e05b4e7b6f1c15314799c4a1e8c22f79abb74a
----------------------------------------
Update after rpc create_connection removal
Recently neutron.common.rpc.create_connection has been removed. [1]
[1] I2f4b24ba732be47fc9911be1e24406fb1ffe821e
Closes-Bug: #1770851
Change-Id: Ie83299b7a280dab0d5dc9dc3304b5d6091b4a0cc
----------------------------------------
Co-Authored-By: YAMAMOTO Takashi <yamamoto@midokura.com>
Change-Id: Ifffca6361b1c3991481442053bf182bde3c2d44a
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.
This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.
See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html
Needed-By: I141f3a470ccb299ab60f68ec9cef30069d4f2303
Change-Id: I93abcf684b5be97a733cba9c378af721f2c4f557