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
2018-06-07 17:57:58 +09:00
2019-04-19 19:32:16 +00:00
2018-06-07 17:57:58 +09:00
2018-03-26 00:44:22 -07:00
2020-11-01 18:43:00 +00:00
2020-04-04 17:15:39 +02:00
2014-07-04 19:10:48 +09:00
2023-01-12 05:08:29 +00:00

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

Description
NFV Orchestration (Tacker) Client
Readme 6.9 MiB
Languages
Python 100%