tacker/test-requirements.txt

23 lines
794 B
Plaintext
Raw Normal View History

# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Despite above warning added by global sync process, please use
# ascii betical order.
coverage!=4.4,>=4.0 # Apache-2.0
VIM should accept valid boolean values for is_default In case of create VIM API, is_default_parameter accepts any string values like "abc" or "1234" and set the value as True. It should strictly check for valid boolean values. Fixed this issue by using convert_to_boolean validator. so now, if you pass any non-boolean value, it will return 400 error to the user. NOTE: The below test case fails if we inherit the test class '..tests.unit.base.TestCase' from '..tests.base.BaseTestCase' with KeyError: tacker.tests.unit.nfvo.test_nfvo_plugin.TestNfvoPlugin. test_create_ns_workflow_no_task_exception The reason behind the failure is, the raised exception '..extensions.nfvo.NoTasksException' expects that the 'action' and 'resource' should be passed as arguments to the exception while raising it to form the exception message. If you don't pass these two arguments then it fails to form the exception message and raises KeyError. This happens because the '..tests.base.BaseTestCase' test class uses exception fixture and sets 'use_fatal_exceptions' to True always which results into not raising the raised exception again and it tries to form the exception message and pass it to the base class __init__ for further processing. It fails and raises KeyError while forming that exception message because in 'test_create_ns_workflow_no_task_exception' test case these arguments are not passed to the exception while raising. To fix this test case, passed the required 'action' and 'resource' arguments to the exception while raising it. DocImpact Closes-Bug: #1746538 Change-Id: Ib533b38a48d31cb26eecdc546b20b0f99beeaa34
2018-01-23 17:32:26 +05:30
ddt>=1.0.1 # MIT
doc8>=0.6.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
mock>=3.0.0 # BSD
python-subunit>=1.0.0 # Apache-2.0/BSD
python-tackerclient>=0.8.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
tempest>=17.1.0 # Apache-2.0
testtools>=2.2.0 # MIT
WebTest>=2.0.27 # MIT
python-barbicanclient>=4.5.2 # Apache-2.0
python-blazarclient>=1.0.1 # Apache-2.0
requests-mock>=1.2.0 # Apache-2.0