nova/nova/tests/functional
Chris Dent f974e3c356 [placement] avoid case issues microversions in gabbits
If a gabbi file sets a default microversion by setting a header
'OpenStack-API-Version' with a value like 'placement latest' and then
later overrides that in an individual test with a header of
'openstack-api-version' the difference in case can lead to failure.

In the best case the failure is consistent.

In the worst case it can sometimes work, because the header shows up
twice in the request, and the last header wins, order in the headers
and the resulting list dependent on the vagrancies of python ordering.

The solution is to always use the same case, so this change updates
all use to be lowercase, to establish a precedent that future people
will be able to use as an example.

Note that gabbi is case sensitive here in part because of the
implementation but also because it provides the control and possibility
to test exactly this problem.

Change-Id: I1e89e231cf0d46d211d360cda091b33520f85027
Closes-Bug: #1728934
2017-10-31 12:54:17 +00:00
..
api [placement] avoid case issues microversions in gabbits 2017-10-31 12:54:17 +00:00
api_sample_tests Revert "Revert "Fix AZ related API docs"" 2017-09-10 13:51:47 -06:00
compute Fix minor input items from previous patches 2017-10-09 07:29:22 -07:00
db Merge "[placement] Allow _set_allocations to delete allocations" 2017-10-27 20:53:00 +00:00
libvirt Merge "Bump minimum required libvirt/qemu versions for Pike" 2017-02-24 02:50:33 +00:00
notification_sample_tests Merge "Transform keypair.import notification" 2017-10-31 00:26:33 +00:00
regressions Merge "conf: Remove deprecated 'null_kernel' opt" 2017-10-21 05:18:24 +00:00
wsgi Remove compatibility code for flavors 2017-09-05 10:36:10 -04:00
__init__.py move eventlet GREENDNS override to top level 2014-12-08 17:41:03 -05:00
api_paste_fixture.py Remove legacy v2 API functional tests 2016-05-04 18:17:23 +08:00
api_samples_test_base.py Provide a hint when _verify_response fails 2017-06-19 15:57:47 -04:00
integrated_helpers.py Add _wait_for_action_fail_completion to InstanceHelperMixin 2017-09-22 09:42:44 -04:00
test_aggregates.py re-Allow adding computes with no ComputeNodes to aggregates 2017-05-25 10:56:29 -07:00
test_compute_mgr.py Stop using mox stubs in cast_as_call.py 2017-07-25 00:40:41 +00:00
test_images.py Add create image functional negative tests 2016-12-26 14:15:14 +09:00
test_instance_actions.py make microversion a client level construct for tests 2016-02-24 11:02:05 -05:00
test_legacy_v2_compatible_wrapper.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test_list_servers_ip_filter.py Add instance.interface_attach notification 2017-09-21 16:56:42 +02:00
test_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Remove unused logging import 2017-02-17 15:17:51 +07:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_nova_manage.py Add nova-manage db command for ironic flavor migrations 2017-09-15 00:30:23 -04:00
test_server_group.py Scheduler calling the Placement API 2017-01-27 16:36:34 -08:00
test_servers.py Make migration uuid hold allocations for migrating instances 2017-10-24 14:49:01 -07:00