'This test will cover below steps:
1. Create container
2. Upload object to the new container
3. Change the ACL of the container
4. Check if the object can be download by anonymous user
5. Delete the object and container'

@decorators.idempotent_id('916c7111-cb1f-44b2-816d-8f760e4ea910')
@decorators.attr(type='slow')
@test.services('object_storage')
def test_swift_acl_anonymous_download(self):

    container_name = self.create_container()
    (obj_name, _) = self.upload_object_to_container(container_name)
    obj_url = ('%s/%s/%s' % (self.object_client.base_url, container_name, obj_name))
    (resp, _) = self.object_client.raw_request(obj_url, 'GET')
    self.assertEqual(resp.status, 401)
    self.change_container_acl(container_name, '.r:*')
    (resp, _) = self.object_client.raw_request(obj_url, 'GET')
    self.assertEqual(resp.status, 200)
