trove-dashboard/trove_dashboard/content/databases
Zhao Chao 996e134a1c Fix str and dict usages in unittests for Python3
- use six.text_type instead of unicode for assertion;
- use dict.items() instead of dict.iteritems() for dict iteration;
- use six.text_type to capture exception messages, the 'message' attribute
  is no longer existing;
- dict.keys() returns a dict_keys object under Python3 which cannot be
  reversed, explicitly convert it to a list.

Partial-Bug: #1755413

Change-Id: I5d31397b7bfe08b504ee5b9cd4ff894031f66c2b
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-03-15 21:23:05 +08:00
..
logs Fix str and dict usages in unittests for Python3 2018-03-15 21:23:05 +08:00
templates/databases Use 'trimmed' for blocktrans in html page 2017-01-10 15:36:10 +08:00
workflows Fix binascii hexlify under Python 3 2018-03-14 17:37:04 +08:00
__init__.py Restructuring tree to be plugin 2015-12-18 15:28:23 -07:00
db_capability.py Enable pxc grow/shrink 2016-12-07 17:00:26 -05:00
forms.py Fix str and dict usages in unittests for Python3 2018-03-15 21:23:05 +08:00
panel.py Completing the plugin 2015-12-18 15:53:31 -07:00
tables.py Fix str and dict usages in unittests for Python3 2018-03-15 21:23:05 +08:00
tabs.py Fix str and dict usages in unittests for Python3 2018-03-15 21:23:05 +08:00
tests.py Fix str and dict usages in unittests for Python3 2018-03-15 21:23:05 +08:00
urls.py Merge "Trove user page doesn't show allowed hosts AND databases" 2017-06-10 11:45:39 +00:00
views.py Switch to oslo_log 2018-01-11 04:37:41 +00:00