![Matthew Booth](/assets/img/avatar_default.png)
This test made a tortured trip into _create_image_helper without using much of its functionality. We pull this out and have it call _create_configdrive directly. This leaves _create_image_helper with only a single caller: test_create_image_with_flavor_swap. This test is almost identical in purpose to the much better test_create_image_with_swap and test_create_image_with_legacy_swap_resizing. We refactor test_create_image_with_swap to use ddt to cover all 3 cases, and remove _create_image_helper. This introduces the first use of ddt in Nova tests. It is already in global-requirements. It was approved for use in Nova tests during the Ocata contributor meetup: https://etherpad.openstack.org/p/ocata-nova-summit-meetup Change-Id: I9d26ae3c26bab20ae60c2db011194ac0b2ead555
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# 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.
|
|
|
|
hacking<0.11,>=0.10.0
|
|
coverage>=4.0 # Apache-2.0
|
|
ddt>=1.0.1 # MIT
|
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
|
mock>=2.0 # BSD
|
|
mox3>=0.7.0 # Apache-2.0
|
|
psycopg2>=2.5 # LGPL/ZPL
|
|
PyMySQL!=0.7.7,>=0.7.6 # MIT License
|
|
python-barbicanclient>=4.0.0 # Apache-2.0
|
|
python-ironicclient>=1.6.0 # Apache-2.0
|
|
python-subunit>=0.0.18 # Apache-2.0/BSD
|
|
requests-mock>=1.1 # Apache-2.0
|
|
sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
|
|
os-api-ref>=1.0.0 # Apache-2.0
|
|
oslosphinx>=4.7.0 # Apache-2.0
|
|
oslotest>=1.10.0 # Apache-2.0
|
|
os-testr>=0.8.0 # Apache-2.0
|
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
|
testresources>=0.2.4 # Apache-2.0/BSD
|
|
testscenarios>=0.4 # Apache-2.0/BSD
|
|
testtools>=1.4.0 # MIT
|
|
tempest-lib>=0.14.0 # Apache-2.0
|
|
bandit>=1.1.0 # Apache-2.0
|
|
openstackdocstheme>=1.5.0 # Apache-2.0
|
|
gabbi>=1.26.1 # Apache-2.0
|
|
|
|
# vmwareapi driver specific dependencies
|
|
oslo.vmware>=2.11.0 # Apache-2.0
|
|
|
|
# releasenotes
|
|
reno>=1.8.0 # Apache-2.0
|
|
|
|
# placement functional tests
|
|
wsgi-intercept>=1.4.1 # MIT License
|