Commit Graph

39 Commits

Author SHA1 Message Date
Manpreet Kaur c6df687c94 Move python-tackerclient to new hacking 4.0.0
New rule enforcement has been enabled in the latest hacking code.

This patch bumps new version of hacking in test-requirements file,
for early detection and to avoid code breakage later when hacking
changes are released.

Change-Id: Ic54af7096b58259d6ee434a743ce9b75b7b61f28
2020-12-07 07:07:25 +00:00
Sean McGinnis 1825b5c509 Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I1bae5d2d97304b81588ce059916326e1117136e3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Co-Authored-By: Hiroo Kitamura <hiroo.kitamura@ntt-at.co.jp>
2020-05-27 09:59:51 +09:00
Ghanshyam Mann 644af8a22c Fix hacking min version to 3.0.1
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: I6c1b4cad7cd112688b1955e2ef5243300fd1851e
2020-05-12 21:18:39 -05:00
Andreas Jaeger d2f4c1748c Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: I7a43ff6d91bad919dcaa450e66ef492a1d3a03ef
2020-04-09 19:55:03 +02:00
Shubham Potale 9940682bc8 OSC support for VNF package APIs
Added support vnf package create command and their unit test cases.

Please see the results here:
http://paste.openstack.org/show/775422/

Change-Id: Idf59847aaf33e360dae696eae819d217ae63570f
Implements: bp tosca-csar-mgmt-driver
2019-09-13 10:27:48 +00:00
jacky06 ab9aa0da69 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I9596666d9bac8efae8ae22e027aca49a432069dc
2019-03-06 22:28:37 +08:00
Nguyen Hai e8b1634d8f Switch to using stestr
stestr is maintained project to which all Openstack projects
should migrate.

[1] https://etherpad.openstack.org/p/YVR-python-pti
[2] https://governance.openstack.org/tc/reference/pti/python.html

Change-Id: Icc11037bd56a75a8d9abbdfda10a832437502565
2018-06-07 17:57:58 +09:00
Nguyen Hai e3b3d7e50c Add documentation for python-tackerclient
This patch also fix "InterpreterNotFound: pypy" error in tox.ini

This patch also follow the new PTI for document build [1][2]

[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I9fb6637cb95603532b46f89dc4beab185278c833
Closes-bug: #1754556
Closes-bug: #1754926
2018-03-13 12:13:51 +09:00
OpenStack Proposal Bot ae77851d98 Updated from global requirements
Change-Id: I03936e22744419045a3140a8206011de61180219
2018-03-10 13:51:24 +00:00
OpenStack Proposal Bot b9c53e664a Updated from global requirements
Change-Id: Icb596d201b2d15924cb794665408fc72539d432c
2018-01-24 01:33:04 +00:00
OpenStack Proposal Bot b472a2d50e Updated from global requirements
Change-Id: I01fb34fe999fb9a694b24afbc5211a69a43102c7
2018-01-18 03:31:52 +00:00
Dirk Mueller d86e111ddf let hacking install its dependencies
hacking pulls in the right versions of flake8, mccabe, pep8 and
pyflakes already, listing them explicitely is unnecessary and
can cause mismatches.

Change-Id: Id44c90ddd4a8a2204fd7ce600097bafbc9469993
2017-12-20 13:00:27 +05:30
OpenStack Proposal Bot c74447bf72 Updated from global requirements
Change-Id: I635b0625ceffed9a64989c36c875afcc7f1cc6d1
2017-11-16 11:26:46 +00:00
Thomas Bechtold 537c525095 Move oslosphinx and openstackdocstheme to test-requirements
Both are not needed during runtime.

Change-Id: If5d8022b12b06b08c49ce825f5d1f13619e7175b
2017-09-22 13:00:01 +02:00
OpenStack Proposal Bot 06d210fa65 Updated from global requirements
Change-Id: If6d7c31bbca0a776e9604b1471b6276835ae6720
2017-09-11 21:49:43 +00:00
OpenStack Proposal Bot ad3f2b5ab7 Updated from global requirements
Change-Id: I390c199b8e2eccfac40c775ec3854a159e8d64dd
2017-06-27 12:22:43 +00:00
OpenStack Proposal Bot 0d3341afab Updated from global requirements
Change-Id: Idab1ee20e58d98ce1a0de7c50d6b2b24f34db5ba
2017-06-02 22:07:45 +00:00
OpenStack Proposal Bot 7a2b28946c Updated from global requirements
Change-Id: Iac079beb86552a0f873fc54a1e2a4a14cc5be0c5
2017-05-17 03:58:45 +00:00
OpenStack Proposal Bot 0f2917f18e Updated from global requirements
Change-Id: I7da80989bc25fabc9e47955f3539c417fb0b1425
2017-05-15 00:55:10 +00:00
OpenStack Proposal Bot 205c882646 Updated from global requirements
Change-Id: Ibe8b09b110f1b1c3ce6a0433829fc2d3b1ad3cfe
2017-03-07 02:06:17 +00:00
gong yong sheng 1201ae893e sync test-requirement with global requirements
This change is got by tacker tool sync_test_requirements.py
in https://review.openstack.org/#/c/441572/

Change-Id: I5242c6ff856463d30811ec240a5a9fa8eb39e189
2017-03-04 14:15:55 +08:00
OpenStack Proposal Bot 882c739a3f Updated from global requirements
Change-Id: Ib073404e3adb88d1bbf3e632d08ddc9c352566fb
2017-02-11 17:52:20 +00:00
OpenStack Proposal Bot 8a5679c4b0 Updated from global requirements
Change-Id: Iee2abbd51fc118411d4becdb62647d7c4703416e
2016-11-02 15:40:56 +00:00
OpenStack Proposal Bot ca132cbb3b Updated from global requirements
Change-Id: I50150edf94fadfc54c1421f6941b8831eca9fffd
2016-10-22 01:27:44 +00:00
Trevor McCasland 65a5198d73 mox to mock refactor
Refactoring unit tests to use mock instead of mox

other mox usages by not run test cases will be dealt with
later.

Co-Authored-By: gong yong sheng <gong.yongsheng@99cloud.net>
Co-Authored-By: Trevor McCasland <TM2086@att.com>

Change-Id: I7e42494b96f1e54f5f04534d3b453422ea1bf4ef
Partial-Bug: #1572706
2016-10-14 14:38:29 +08:00
gong yong sheng 62832b010c Remove unused cliff tablib from test requirements
Change-Id: Ief8c6c2988cccdd9442fa6c38630a126218b3fa4
Closes-bug: 1603561
2016-10-12 11:59:19 +08:00
OpenStack Proposal Bot d763fedc3c Updated from global requirements
Change-Id: I8fb66c01de26acc7490615dc49943b14e8b32909
2016-09-28 17:01:10 +00:00
vish f1eef18974 Moving test files to vm directory
This commit moves the test files from events and nfvo directory
to the vm directory. Currently tests are executed if they are in
the vm directory.

Change-Id: I7ac08fb5686597926ec3b3c62d8221abf2b0f066
Implements: blueprint: audit-support
2016-08-27 03:40:54 +00:00
Swapnil Kulkarni (coolsvap) 4197bd5356 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I5c4982787b561a988eb837fdb8caad50cf0697a3
2016-07-22 04:14:59 +00:00
OpenStack Proposal Bot a4dcd7634a Updated from global requirements
Change-Id: Id797401c8b23fba00ac9c20737b5f51a51c2309f
2016-06-24 08:45:56 +00:00
OpenStack Proposal Bot ffa34ca3d4 Updated from global requirements
Change-Id: I221812239ce4369374902dc7bdf663dc5c7023c8
2016-06-21 18:05:55 +00:00
Tin Lam f48c03db9b Add reno support to python-tackerclient
Added release notes management to python-tackerclient project similar
to other OpenStack projects.  See [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/078301.html

Change-Id: Ib7cf5ac01988fd51dab6196b71e1a9a2e9eff190
2016-06-05 01:54:50 -05:00
OpenStack Proposal Bot 51e493e767 Updated from global requirements
Change-Id: I7a00335c5830ca25208489c22de85427ce809a31
2016-06-02 21:12:07 +00:00
OpenStack Proposal Bot 1ea8b9899d Updated from global requirements
Change-Id: I0f2428c71ed3aeea11b2df7418a104d99efa0fbf
2016-04-08 18:42:43 +00:00
OpenStack Proposal Bot 4ba764140c Updated from global requirements
Change-Id: I4df706489a46c88d9a9dbf1ff2564a07ef0588eb
2016-01-28 01:31:52 +00:00
OpenStack Proposal Bot 8ec6af9b6c Updated from global requirements
Change-Id: Ie32b6c2b2bdb3cc23f4d41e1e2df3d7664d19b48
2016-01-22 04:09:19 +00:00
OpenStack Proposal Bot 9cc1ebe824 Updated from global requirements
Change-Id: Ic74e675073c69e036dce8d1b9bcf926261de3801
2015-12-08 06:52:18 +00:00
yong sheng gong 6242db9fb1 Update requirements according to global requirements
This is important because if we install tacker along with
other openstack components, this inconsistency will break
system.

Due to the upgrade of hacking, current codes violate many
new rules. These violations will be fixed in follow up
patches.

Author:    yong sheng gong <gong.yongsheng@99cloud.net>
Change-Id: Ib30d31ca804aebf43c02eb8247c718ab00629f6f
Closes-bug: 1516045
2015-11-16 17:02:47 +08:00
Isaku Yamahata 872ab5e336 import python-neutronclient of 1bce6e437e2dd1fa5de6fc2ccdd0ee8ac3f44d18
Imports python-neutornclient whose changeset is as follows

> commit 1bce6e437e2dd1fa5de6fc2ccdd0ee8ac3f44d18
> Merge: 9c77675 cbdd56d
> Author: Jenkins <jenkins@review.openstack.org>
> Date:   Sat Jun 14 04:46:39 2014 +0000
>
>     Merge "Add OverQuotaClient as exception to neutronclient"

Change-Id: I596915c60d349eb5afbc3de245f580f2dd37e270
2014-07-04 19:10:19 +09:00