trove-dashboard/trove_dashboard/content/databases/logs
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
..
__init__.py Trove add support for log retrieval 2016-05-16 14:23:05 -04:00
tables.py Trove add support for log retrieval 2016-05-16 14:23:05 -04:00
tests.py Trove add support for log retrieval 2016-05-16 14:23:05 -04:00
urls.py Fix Django 1.10 Compatibility 2016-12-09 14:51:46 -05:00
views.py Fix str and dict usages in unittests for Python3 2018-03-15 21:23:05 +08:00