trove-dashboard/trove_dashboard/content/database_configurations
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
..
templates/database_configurations Add support for Trove configuration groups 2016-09-09 12:05:22 -04:00
__init__.py Add support for Trove configuration groups 2016-09-09 12:05:22 -04:00
config_param_manager.py Add support for Trove configuration groups 2016-09-09 12:05:22 -04:00
forms.py Fix str and dict usages in unittests for Python3 2018-03-15 21:23:05 +08:00
panel.py Add support for Trove configuration groups 2016-09-09 12:05:22 -04:00
tables.py Fix str and dict usages in unittests for Python3 2018-03-15 21:23:05 +08:00
tabs.py Add support for Trove configuration groups 2016-09-09 12:05:22 -04:00
tests.py Fix Django 1.10 Compatibility 2016-12-09 14:51:46 -05:00
urls.py Fix Django 1.10 Compatibility 2016-12-09 14:51:46 -05:00
views.py Add support for Trove configuration groups 2016-09-09 12:05:22 -04:00