trove/trove/tests
Victor Stinner 61614653d6 Port more unit tests to Python 3
* Replace string.find(a, b) with a.find(b)
* NamedTemporaryFile: open file in text mode rather than opening it
  in binary mode.
* Module.process_contents(): if contents is a Unicode string, first
  encode it to UTF-8 before hashing the content to MD5.
* ClusterController: replace dict.items()[0] with next(iter(dict.items()))
* tox: run the following tests on Python 3.4

  - mysql/test_common.py
  - taskmanager/test_models.py
  - module/test_module_models.py
  - test_cluster_controller.py

Partially implements: blueprint trove-python3
Change-Id: I5372520f9717b4f0279c4b436ca88c160ddf894b
2016-05-30 10:47:26 +02:00
..
api Merge "Correct spelling mistake" 2016-05-28 13:33:06 +00:00
db Switch to the oslo_log library 2015-07-23 19:31:58 +03:00
examples Python3: Add support for unicode, basestring, long 2016-04-19 07:02:39 +00:00
fakes Trivial: Remove unused logging import 2016-04-23 19:32:00 +08:00
scenario Merge "Fix Percona configuration test" 2016-05-25 06:42:19 +00:00
unittests Port more unit tests to Python 3 2016-05-30 10:47:26 +02:00
util Fix grammatical mistakes, "it's" to "its" 2016-05-06 13:28:38 -04:00
__init__.py Provide option to read SSH credentials from test env 2015-06-30 08:58:34 -04:00
config.py Implement Guest Log File Retrieval 2016-01-26 17:16:02 +00:00
int_tests.py Refactor scenario tests to facilitate multi-group 2016-04-26 19:16:39 +00:00
root_logger.py Change reporting of unhandled logging 2015-11-30 19:44:13 -05:00