openstack-python-openstackc.../openstackclient/tests/unit
lihaijing d15bbada73 Replace six.iteritems() with .items()
1. As mentioned in [1], we should avoid using six.iteritems to achieve
   iterators. We can use dict.items instead, as it will return iterators
   in PY3 as well. And dict.items/keys will more readable.

2. In py2, the performance about list should be negligible,
   see the link [2].

[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I4b9edb326444264c0f6c4ad281acaac356a07e85
Implements: blueprint replace-iteritems-with-items
2020-01-09 18:41:29 +09:00
..
api Merge "Rename review.openstack.org to review.opendev.org" 2019-06-14 02:25:02 +00:00
common Replace six.iteritems() with .items() 2020-01-09 18:41:29 +09:00
compute Provide stderr in exception when check_parser fails 2019-11-20 13:39:40 +00:00
identity Add parent project filter for listing projects 2019-09-02 09:05:37 +09:00
image Use cliff formattable columns in image commands 2019-06-22 13:36:46 -05:00
integ Make configuration show not require auth 2019-08-01 14:53:02 -05:00
network Fix router create/show if extraroute not supported 2019-12-04 14:57:20 +01:00
object Before writing object data to stdout, re-open it in binary mode 2019-04-10 14:34:40 -05:00
volume Merge "Use cliff formattable columns in volume v2 commands" 2019-06-23 00:45:37 +00:00
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
fakes.py Replace six.iteritems() with .items() 2020-01-09 18:41:29 +09:00
test_shell.py Remove token_endpoint auth type 2019-08-27 11:08:50 -05:00
utils.py Provide stderr in exception when check_parser fails 2019-11-20 13:39:40 +00:00