From 87112692424b98af5b18701dff0b0ac90d2c215c Mon Sep 17 00:00:00 2001 From: Eyal Date: Sun, 25 Aug 2019 11:09:32 +0300 Subject: [PATCH] use python3 for gate Change-Id: Idc39d6f6e367d3dea673d48a160b8314a51394e8 --- .zuul.yaml | 1 + mistral_tempest_tests/tests/api/v2/test_action_executions.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.zuul.yaml b/.zuul.yaml index 96f7783..266cdbd 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -23,6 +23,7 @@ MYSQL_ROOT_PW: secretdatabase MISTRAL_USE_MOD_WSGI: true MISTRAL_RPC_IMPLEMENTATION: oslo + USE_PYTHON3: true devstack_services: heat: true h-api: true diff --git a/mistral_tempest_tests/tests/api/v2/test_action_executions.py b/mistral_tempest_tests/tests/api/v2/test_action_executions.py index 4d47230..271469d 100644 --- a/mistral_tempest_tests/tests/api/v2/test_action_executions.py +++ b/mistral_tempest_tests/tests/api/v2/test_action_executions.py @@ -95,7 +95,7 @@ class ActionExecutionTestsV2(base.TestCase): self.assertIn("output", action_execution) resp, body = self.client.get_action_execution(action_execution['id']) - self.assertIn("output", body) + self.assertIn("output", body.decode('utf-8')) # Test when passing task execution ID