summaryrefslogtreecommitdiff
path: root/glanceclient/tests/unit/v1/test_shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'glanceclient/tests/unit/v1/test_shell.py')
-rw-r--r--glanceclient/tests/unit/v1/test_shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/glanceclient/tests/unit/v1/test_shell.py b/glanceclient/tests/unit/v1/test_shell.py
index 93f3fe6..95bbd07 100644
--- a/glanceclient/tests/unit/v1/test_shell.py
+++ b/glanceclient/tests/unit/v1/test_shell.py
@@ -574,7 +574,7 @@ class ShellStdinHandlingTests(testtools.TestCase):
self.assertIn('data', self.collected_args[1])
self.assertIsInstance(self.collected_args[1]['data'], file_type)
- self.assertEqual('Some Data',
+ self.assertEqual(b'Some Data',
self.collected_args[1]['data'].read())
finally:
@@ -599,7 +599,7 @@ class ShellStdinHandlingTests(testtools.TestCase):
self.assertIn('data', self.collected_args[1])
self.assertIsInstance(self.collected_args[1]['data'], file_type)
- self.assertEqual('Some Data\n',
+ self.assertEqual(b'Some Data\n',
self.collected_args[1]['data'].read())
finally: