NFV Orchestration (Tacker) Client
Go to file
Ai Hamano a41323dc1d Fix list VNF/Subscription UT error
This patch resolves the following error caused by using one data in
multiple tests.
-----
ft1.2: tackerclient.tests.unit.osc.v1.test_vnflcm_subsc.
TestListLccnSubscription.test_take_action_with_
paginationtesttools.testresult.real._StringException:
 Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/
python-tackerclient/tackerclient/tests/unit/osc/v1
/test_vnflcm_subsc.py", line 139, in test_take_action_with_
pagination
    expected_data.append(vnflcm_subsc_fakes.get_subscription_
data(
  File "/home/zuul/src/opendev.org/openstack
/python-tackerclient/tackerclient/tests/unit/osc/v1
/vnflcm_subsc_fakes.py", line 166, in get_subscription_data
    subscription.pop(item)
KeyError: 'filter'
-----

Add test data for each test.
(Three data are set for each test data so that the first, last, and
other values can be checked.)
And change not to modify test data directly in get method.

Closes-Bug: #2007524
Change-Id: Id3919fc638f6b858c115a3a7d7e4ca60036217d4
2023-02-17 02:25:25 +00:00
doc Add deprecation notice for Legacy APIs 2023-01-27 00:38:21 +00:00
releasenotes Add deprecation notice for Legacy APIs 2023-01-27 00:38:21 +00:00
tackerclient Fix list VNF/Subscription UT error 2023-02-17 02:25:25 +00:00
tools Avoid tox_install.sh for constraints support 2017-12-02 16:59:28 +00:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 15:27:14 +00:00
.gitignore Switch to using stestr 2018-06-07 17:57:58 +09:00
.gitreview OpenDev Migration Patch 2019-04-19 19:32:16 +00:00
.pylintrc import python-neutronclient of 1bce6e437e2dd1fa5de6fc2ccdd0ee8ac3f44d18 2014-07-04 19:10:19 +09:00
.stestr.conf Switch to using stestr 2018-06-07 17:57:58 +09:00
.zuul.yaml Switch to 2023.1 Python3 unit tests and generic template name 2022-09-14 09:28:28 +00:00
CONTRIBUTING.rst Fix the old doc links 2018-03-26 00:44:22 -07:00
HACKING.rst Trivial: Update HACKING.rst with stestr 2018-07-25 01:48:31 +00:00
LICENSE import python-neutronclient of 1bce6e437e2dd1fa5de6fc2ccdd0ee8ac3f44d18 2014-07-04 19:10:19 +09:00
MANIFEST.in import python-neutronclient of 1bce6e437e2dd1fa5de6fc2ccdd0ee8ac3f44d18 2014-07-04 19:10:19 +09:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-06-19 15:48:59 +08:00
requirements.txt Drop six support 2020-11-01 18:43:00 +00:00
setup.cfg Update python classifier for python 3.10 2022-12-15 12:21:12 +05:30
setup.py Cleanup py27 support 2020-04-04 17:15:39 +02:00
tacker_test.sh rename neutron to tacker 2014-07-04 19:10:48 +09:00
test-requirements.txt Move python-tackerclient to new hacking 4.0.0 2020-12-07 07:07:25 +00:00
tox.ini Fix tox4 error 2023-01-12 05:08:29 +00:00

README.rst

Team and repository tags

image

NFV Orchestration (Tacker) Client

CLI and Client Library for OpenStack Tacker

Installation

Note: The paths we are using for configuration files in these steps are with reference to Ubuntu Operating System. The paths may vary for other Operating Systems.

The branch_name which is used in commands, specify the branch_name as stable/<branch> for any stable branch installation. For eg: stable/queens, stable/pike. If unspecified the default will be master branch.

Using python install

Clone python-tackerclient repository.

$ cd ~/
$ git clone https://github.com/openstack/python-tackerclient -b <branch_name>

Install python-tackerclient.

$ cd python-tackerclient
$ sudo python setup.py install

Using pip

You can also install the latest version by using pip command:

$ pip install python-tackerclient

Or, if it is needed to install python-tackerclient from master branch, type

$ pip install git+https://github.com/openstack/python-tackerclient.git

More Information