test_upload_from_file_and_delete functional test is failing
as the vnf package 'operationalState' is not DISABLED
before deletion.
To fix this issue, I have merged two existing FTs into new one
which will test the flow - create, upload, update, show and delete.
* Deleted existing FT
test_upload_from_file_and_delete
test_patch_in_onboarded_state
* Added new FT
test_upload_from_file_update_show_and_delete.
* Fixed get vnfd related functional tests by setting package
operational state to DISABLED before deleting
* assert_resp_contents method now uses assertCountEqual to compare
list of string as it ignores order of items in the list.
Reviewed: https:/ /review. opendev. org/721510 /git.openstack. org/cgit/ openstack/ tacker/ commit/ ?id=31beaa32b8b cb63d925d3d3bb4 58af16af7a0d41
Committed: https:/
Submitter: Zuul
Branch: master
commit 31beaa32b8bcb63 d925d3d3bb458af 16af7a0d41
Author: tpatil <email address hidden>
Date: Tue Apr 21 03:06:40 2020 +0000
Fix FT vnf package functional tests
test_ upload_ from_file_ and_delete functional test is failing
as the vnf package 'operationalState' is not DISABLED
before deletion.
To fix this issue, I have merged two existing FTs into new one
which will test the flow - create, upload, update, show and delete.
* Deleted existing FT upload_ from_file_ and_delete patch_in_ onboarded_ state upload_ from_file_ update_ show_and_ delete. resp_contents method now uses assertCountEqual to compare
test_
test_
* Added new FT
test_
* Fixed get vnfd related functional tests by setting package
operational state to DISABLED before deleting
* assert_
list of string as it ignores order of items in the list.
Closes-bug: #1866776 215116f8d85acdb 1f519d67a97
Change-Id: I310f4206527cfe