diff options
author | Sirushti Murugesan <sirushti.murugesan@hp.com> | 2015-08-01 14:56:43 +0530 |
---|---|---|
committer | Sirushti Murugesan <sirushti.murugesan@hp.com> | 2015-08-05 10:29:16 +0530 |
commit | 360464c20afb4d5422b82505164892bb8e0e6691 (patch) | |
tree | 72cbdfaf94dea5c2bb81df92b71766d076a2d1d9 /heat/tests/test_auth_password.py | |
parent | b1e374c1268491bfe21f30c1cc652e57b7db2888 (diff) | |
download | heat-360464c20afb4d5422b82505164892bb8e0e6691.tar.gz |
py34: test_auth_*
convert to bytes before assigning value to resp.body
partial blueprint heat-python34-support
Change-Id: I6929b96cb9742df26c037deb94bef194feb06903
Diffstat (limited to 'heat/tests/test_auth_password.py')
-rw-r--r-- | heat/tests/test_auth_password.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/heat/tests/test_auth_password.py b/heat/tests/test_auth_password.py index 64df4c800..31cddeb31 100644 --- a/heat/tests/test_auth_password.py +++ b/heat/tests/test_auth_password.py @@ -19,6 +19,7 @@ from keystoneclient import exceptions as keystone_exc from keystoneclient import session as ks_session import mox from oslo_config import cfg +import six import webob from heat.common import auth_password @@ -100,7 +101,7 @@ class FakeApp(object): for k, v in self.expected_env.items(): assert env[k] == v, '%s != %s' % (env[k], v) resp = webob.Response() - resp.body = 'SUCCESS' + resp.body = six.b('SUCCESS') return resp(env, start_response) |