Commit Graph

32 Commits

Author SHA1 Message Date
elajkat 8d82419125 Bump hacking
hacking 3.0.x is too old.
Try to synchronize pylint ignore and extension list with
other Networking projects.

With new pip the order of packages is not relevant, so the
related comment from requirements.txts is removed, see pip
documentation:
https://pip.pypa.io/en/stable/cli/pip_install/#installation-order

Change-Id: I586eb25b42d432e0b2158ddebb2dac013f712506
2024-02-13 09:09:06 +00:00
Takashi Kajinami 7c3912b4ce Bump hacking
hacking 3.0.x is really old. Let's bump it to the latest version
available.

Change-Id: I04d4be8f2ecb820e29ea943a06fe571cafc939bd
2024-01-17 23:45:31 +09:00
elajkat 1ef9316e92 Add pylint to pep8 and adopt code to the results
Change-Id: Ia9048ef2dbc602ecd571da502ac2131b575f59ac
2023-01-30 13:39:38 +01:00
Rodolfo Alonso Hernandez 1ff8830e5c Add WebTest as dependency for testing
Latest pecan release dropped this dependency. This is why now it is
needed to explicitly install it during testing.

This patch also registers the Neutron core common config options in
``TaasExtensionTestCase``. Since [1], the configuration options
must be explicitly loaded.

[1]https://review.opendev.org/c/openstack/neutron/+/837392

Closes-Bug: #1982110
Change-Id: I3d8cd840881a2c67e7b07458276d600e214d028e
2022-07-09 18:38:06 +00:00
elajkat 62b8bb7213 taas OSC commands
Add possibility to tap-as-a-service to use openstack commands instead
of deprecated neutron commands.

Closes-Bug: #1874701

Change-Id: I339f42a63789a946011700902724a58647c80b9d
2021-03-29 14:10:57 +02:00
elajkat dd49e36bab Switch to hacking 3.0.1 and to testing on focal
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
2020-09-18 07:54:33 +00:00
elajkat 5c776ddfa9 Enable doc building job
Add docs job to .zuul.yaml and make tox -edocs target working again.

Change-Id: I1544bd93e1d861b89615079e7cc9d570600674bc
2020-08-10 09:30:08 +00:00
elajkat 4eb270d886 Complete removal of dependency on the "mock" package
Remove sphinx from test-requirements.txt as the whole doc building is
is fixed in this patch: https://review.opendev.org/721994

Change-Id: I7a065a0cde1344af38655c9f136526eaa2524923
2020-07-13 13:21:19 +00:00
YAMAMOTO Takashi 9fd3404036 Switch to stestr
This commit includes the following unrelated changes
to pass the gate.
----------------------------------------
Update sphinx requirements

After the recent change in the global requirements. [1]

[1] If558f184c959e4b63b56dec3ca1571d1034cfe5c

Closes-Bug: #1829138
Change-Id: Ic43783255091b77030983d5de0011b9bf4c3a486
----------------------------------------

Closes-Bug: #1829121
Change-Id: I06848d68f8e21880f05c003c2aa444f04dea2ef8
2019-05-16 00:38:36 +09:00
jessegler 6ac6774938 Update psycopg2 to fix lower constraint issue
Closes-Bug: #1821676
Change-Id: Ic51346e258e9d9f3459654a397f79270a8d62a8d
2019-03-27 17:57:12 -05:00
OpenStack Proposal Bot 083d37d8b9 Updated from global requirements
Change-Id: I97eaa9d31336ef04ab437dc87f3942040d556940
2018-03-15 09:36:14 +00:00
YAMAMOTO Takashi e528a0ba81 Add release notes
Basically copy-and-paste from networking-midonet.

Change-Id: I3b2b88c662bcc51782d92d3e87cc7e63762c4faa
2018-03-01 10:45:31 +00:00
YAMAMOTO Takashi 8ef3df7ea4 Update for os-testr 1.0.0 / stestr
Note: .testr.conf is still necessary for cover target.

Related-Bug: #1716746
Change-Id: Ic7f8a9d75b622a15566bbaea050c5a604f2eab16
2018-02-22 15:17:45 +09:00
OpenStack Proposal Bot f7490503a9 Updated from global requirements
Change-Id: I5f9533d5fc49ad06847bf39d958ce58b1251ebdd
2018-01-18 03:36:45 +00:00
OpenStack Proposal Bot 35649f9220 Updated from global requirements
Change-Id: I1667038cd70b3831ceda0fa6350ac34c0b730a31
2017-06-27 12:24:13 +00:00
OpenStack Proposal Bot 0087038d64 Updated from global requirements
Change-Id: I54d0d29ef359a6bb7a0e034a7d3daf7577545366
2017-05-30 13:44:51 +00:00
ricolin aa160147e2 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

NOTE(yamamoto): I rerun "update-requirements -H" manually

Change-Id: I347c7c25a2e4f1942b2a94689a7909a61279abf5
2017-03-03 10:29:50 +09:00
OpenStack Proposal Bot 53bc901fdc Updated from global requirements
Change-Id: I8e2e556bd73bcbb23b6f2dc2de59ab53bbc2cd4b
2017-02-10 06:01:03 +00:00
OpenStack Proposal Bot e7d6ce7471 Updated from global requirements
Change-Id: I4fcba40a0c4d60a3276ef78dd3e5b174c3aaf397
2016-12-22 19:11:06 +00:00
OpenStack Proposal Bot fef347e9a3 Updated from global requirements
Change-Id: If1d5795d8c273044bbb68b1a737c7cb03172fad0
2016-12-06 23:35:54 +00:00
OpenStack Proposal Bot 6aa17080fb Updated from global requirements
Change-Id: I84993f83a9c2d4197b71f3f2087368e781b1fd94
2016-09-30 10:25:29 +00:00
OpenStack Proposal Bot 917fafbaf5 Updated from global requirements
Change-Id: Ia36a2180a6785cbfb0906705ee6f17837ce455ed
2016-09-28 17:02:07 +00:00
OpenStack Proposal Bot 19cdd6419d Updated from global requirements
Change-Id: I3e46c27ea4ee53720acdd9e9740c5e1b87f1212b
2016-08-31 18:32:14 +00:00
Abhishek Raut 57382befb9 Bring models in sync with migrations, add test
Bring the sqlalchemy models in sync with the alembic migrations.

Add the neutron standard model-migration sync test. The test is added
to the unit test env since TaaS does not have a functional job
yet. This requires that TaaS uses the python-db-jobs template in the
gate.

Change-Id: Id7e0d53d0a600b39bbaf9ef0555e0d9b45459b8a
Related-bug: #1605675
2016-08-17 13:31:29 -07:00
Abhishek Raut a4ce99b77f Add testresources to test-requirements
Fix UT failures by adding testresources package to
test-requirements.txt

testresources was added in neutron by
change Ie27cf174fa24c2f479af47335d9ae139fb7d159a

Change-Id: If3f588f875a6a1999af026aac0190e3b902452ce
2016-05-13 21:47:38 -07:00
OpenStack Proposal Bot b64f936f2c Updated from global requirements
Change-Id: I6ce861c60bd0dc285419037b947a1038d66f2894
2016-06-28 18:56:51 +00:00
OpenStack Proposal Bot f463829355 Updated from global requirements
Change-Id: I40b2a21ae9d1210669f1f2ccaaaa7ed4f3dec7fd
2016-06-02 04:10:30 +00:00
OpenStack Proposal Bot 22eb795620 Updated from global requirements
Change-Id: I73cdaf060097c29d671fe0f9350819826b60d411
2016-03-28 19:32:45 +00:00
YAMAMOTO Takashi 29d790d73b Updated from global requirements
Change-Id: I665473bacc7c1b17e5f5c34ea409d12ca8b3da91
2015-11-02 11:35:36 +09:00
YAMAMOTO Takashi 7dc7c7cdb0 Start writing tests
Also, sync requirements with Neutron.

Partial-Bug: #1501792
Change-Id: Ib5f70646ddcbc807d45c8d352219029a8d9530d1
2015-10-02 02:57:37 +09:00
YAMAMOTO Takashi d239299bb2 test-requirements: Remove discover
Change-Id: Iaddb13bd52d00422115ec1c8251cb5839c1ebd95
2015-10-02 02:56:49 +09:00
vnyyad 82875c7358 Initial Cookiecutter Commit.
Change-Id: I14a0fcfead379eef6581a2527ef3d1a6e4cc0d4b
2015-07-24 16:09:56 +02:00