1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

remove u markers in assertion statements, they are unnecessary in python3

This commit is contained in:
Rebeccah 2019-10-30 09:46:51 -04:00
parent 2e6c484a50
commit e4a21b67c7

View File

@ -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']