Merge "Fix py3 issue in functional tests"

This commit is contained in:
Jenkins 2016-06-01 08:18:09 +00:00 committed by Gerrit Code Review
commit 7b8f826820

View File

@ -463,7 +463,7 @@ class Test(Base):
res = self.call_reapply(self.uuid)
self.assertEqual(202, res.status_code)
self.assertEqual(b'', res.text)
self.assertEqual('', res.text)
eventlet.greenthread.sleep(DEFAULT_SLEEP)
# reapply request data
@ -491,7 +491,7 @@ class Test(Base):
get_mock.return_value = ramdisk_data
res = self.call_reapply(self.uuid)
self.assertEqual(202, res.status_code)
self.assertEqual(b'', res.text)
self.assertEqual('', res.text)
eventlet.greenthread.sleep(DEFAULT_SLEEP)
# reapply saves the result