Add helpers for cases that require PY2 or PY3.
Reduce code duplication in test_wsgi.
Partially Implements: blueprint test-addition-refactoring
Change-Id: Ibd30063ca1a46c7ea5686734835a030386ba06e5
Refactor validate mac address fun to solute problem when data is None
Update UT in test_attributes
Change-Id: I6c2bb87c3873ea30fb177ce5c2caacd7046d5f91
add a new UT case for common_services_db_plugin.py in the
tacker.db.common_services module and fix some typos in the
tests.unit.extensions.test_common_services.py
Change-Id: Ifb88a1dcb73d7e5dc9df5292f7c67d47413e3284
The func should be used in the condition of 'policies to policy'
Add test UT in test_resource_helper
Change-Id: I41fa8b0b029398ea9c3977fabd649a094a9538ac
Remove the skip line in this file, and make some changes to
make them pass.
Partially Implements: blueprint test-addition-refactoring
Change-Id: I6b747da14bc743dbd2b79a6629e761d316de629f
Lazy translation of messages is not used in OpenStack. This
causes problems for commands which use translatable messages.
The lazy translation effort was abandoned several years ago.
For more information refer [1]
[1] http://lists.openstack.org/pipermail/openstack-dev/2018-November/136289.html
Change-Id: I42cde2be3a5507861989c8e20eee416f06c79351
Adding some corresponding directories to UT, and
moving some cases to right places.
Partially Implements: blueprint test-addition-refactoring
Change-Id: Ic47ea2640c89787ac291c31db51a8529f73a66a3
Fix the VimNotFoundException log, it should be give one argument.
optimize the func of _find_vim_key
Change-Id: I16d3904071636571e963232875c9703d8bc2e2d7
Missing constants MIN_VLAN_TAG and MAX_VLAN_TAG in function
is_valid_vlan_tag, path: tacker/common/utils
Change-Id: I26619fa71219c24f2eeed77de3c69e46a00e22a5
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: I220127ff324719ed0b824b2288273bfd849182e0
The sample template configuring a VDU as a firewall can be
viewed in <.../tosca-config-openwrt-firewall.yaml>.
Image in properties use VDU more correct than VM.
Change-Id: Ib55c473888c078ae8df905adc754a253ad7ce63f
Signer-off-by: hewei <hewei@cmss.chinamobile.com>
Currently, keystone_authtoken.auth_url is working at
`http://127.0.0.1/identity`, not `http://127.0.0.1:5000` as shown in
sample vim_config.yaml. So this patch aims to update the outdated
auth_url in vim_config.yaml file
Change-Id: I9e66ab5cd365c7bc70c80974fa891fc2e6ddd96f
This commit adds the functionality of tacker-status CLI for performing
upgrade checks as part of the Stein cycle upgrade-checkers goal.
It only includes a sample check which must be replaced by real checks in
future.
Change-Id: I7bb127fa10dd168ab24dd8c42013576f84eadfbb
Story: 2003657
Task: 26158
when we install tacker manually in CentOS, the default path of
console scripts such as tacker-db-manage/tacker-server would be
/usr/bin
Change-Id: If4035a058f06275427a2fe5f5a6e949310c13939