a41323dc1d
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 |
||
---|---|---|
doc | ||
releasenotes | ||
tackerclient | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.pylintrc | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
tacker_test.sh | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
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
- Python-tackerclient documentation: https://docs.openstack.org/python-tackerclient/latest/
- Tacker Documentation: https://docs.openstack.org/tacker/latest/
- Tacker Wiki: https://wiki.openstack.org/wiki/Tacker
- Release Notes: https://docs.openstack.org/releasenotes/python-tackerclient