From e4a21b67c733ebbc1b56ed04ae1a3161e5b22cd1 Mon Sep 17 00:00:00 2001 From: Rebeccah Date: Wed, 30 Oct 2019 09:46:51 -0400 Subject: [PATCH] remove u markers in assertion statements, they are unnecessary in python3 --- awx/main/tests/functional/api/test_instance_group.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awx/main/tests/functional/api/test_instance_group.py b/awx/main/tests/functional/api/test_instance_group.py index 64567f4285..7d0417124d 100644 --- a/awx/main/tests/functional/api/test_instance_group.py +++ b/awx/main/tests/functional/api/test_instance_group.py @@ -269,8 +269,8 @@ def test_instance_group_update_fields(patch, instance, instance_group, admin, co assert containerized_instance_group.is_containerized assert not containerized_instance_group.is_isolated resp = patch(cg_url, {'policy_instance_percentage':15}, admin, expect=400) - assert [u"Containerized instances may not be managed via the API"] == resp.data['policy_instance_percentage'] + assert ["Containerized instances may not be managed via the API"] == resp.data['policy_instance_percentage'] resp = patch(cg_url, {'policy_instance_minimum':15}, admin, expect=400) - assert [u"Containerized instances may not be managed via the API"] == resp.data['policy_instance_minimum'] + assert ["Containerized instances may not be managed via the API"] == resp.data['policy_instance_minimum'] resp = patch(cg_url, {'policy_instance_list':[instance.hostname]}, admin) - assert [u"Containerized instances may not be managed via the API"] == resp.data['policy_instance_list'] + assert ["Containerized instances may not be managed via the API"] == resp.data['policy_instance_list']