]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Port API types extra specs to Python 3
authorVictor Stinner <vstinner@redhat.com>
Wed, 7 Oct 2015 16:41:48 +0000 (18:41 +0200)
committerVictor Stinner <vstinner@redhat.com>
Wed, 14 Oct 2015 20:17:26 +0000 (22:17 +0200)
commit08b6b23cad254200b45d063ed6996d22f1d65626
tree3e58ff1b1ba058dd951ef7ca90aad6f4d3bbdb3a
parentad65824806dd7c9239f2cc123be17242413fa209
Port API types extra specs to Python 3

* Replace dict.iteritems() with dict.items(). The iteritems() method
  of dictionaries was removed in Python 3.
* Add cinder.tests.unit.api.contrib tests to tests-py3.txt:

  - test_availability_zones
  - test_capabilities
  - test_extended_snapshot_attributes
  - test_hosts
  - test_qos_specs_manage
  - test_quotas
  - test_quotas_classes
  - test_scheduler_stats
  - test_services
  - test_types_extra_specs
  - test_types_manage
  - test_used_limits

Partial-Implements: blueprint cinder-python3
Change-Id: Ie3d2de456c34286cca0505f6125a1a723bd8ad8b
cinder/api/contrib/types_extra_specs.py
tests-py3.txt