added decode to test to make it work in PY 3.x
authorAleksey Maksimov <ctpeko3a@gmail.com>
Mon, 6 Oct 2014 08:11:28 +0000 (16:11 +0800)
committerAleksey Maksimov <ctpeko3a@gmail.com>
Mon, 6 Oct 2014 08:11:28 +0000 (16:11 +0800)
jenkinsapi_tests/systests/test_parameterized_builds.py

index 616ae0758cb8e7f644e0510e1e8a877ffec92336..7869c4ca528c242c6cbf690148de8a77c1d278e6 100644 (file)
@@ -52,7 +52,7 @@ class TestParameterizedBuilds(BaseSystemTest):
         artifacts = build.get_artifact_dict()
         artB = artifacts['b.txt']
         self.assertEqual(
-            artB.get_data().strip(),
+            artB.get_data().strip().decode('UTF-8', 'replace'),
             param_B,
         )