murano/murano/tests/unit/api
Victor Stinner bcd838a38d Port API v1 unit tests to Python 3
* Replace len(MultiDict.keys()) with len(MultiDict). On Python 3,
  MultiDict.keys() now returns a generator which has no length.
* Replace json with jsonutils to fix Unicode vs bytes issues.
* Use a bytes strings for the HTTP body, not Unicode strings.
* Replace LOG.exception() with LOG.error() when the argument is a
  string, not an exception object.
* Only declare PackageException.__str__() on Python 2. The default
  implementation of __str__() is fine on Python 3. Moreover, the
  'message' attribute has been removed from Exception on Python 3.
* tox.ini: run the following API v1 unit tests on Python 3.4

  - test_actions
  - test_catalog
  - test_env_templates
  - test_environments
  - test_sessions

Blueprint: murano-python-3-support
Change-Id: I4c8bedef019495477ae668769595ac4abc1ac0f4
2016-06-20 12:29:06 +02:00
..
cmd Deprecate packages_opts conf group 2016-03-15 13:21:50 +03:00
middleware New middleware to handle ssl termination proxies 2015-10-14 14:27:37 +03:00
v1 Port API v1 unit tests to Python 3 2016-06-20 12:29:06 +02:00
__init__.py Move and rename functional tests 2014-07-29 22:29:27 +04:00
base.py Modified docstrings to comply with pep8 H405 style check 2016-05-10 20:18:23 +00:00