Merge "functests: Clean up objects better"

This commit is contained in:
Zuul
2018年07月02日 11:04:40 +00:00
committed by Gerrit Code Review

View File

@@ -68,9 +68,9 @@ class TestContainer(unittest2.TestCase):
return check_response(conn)
def delete(url, token, parsed, conn, container, obj):
conn.request(
'DELETE', '/'.join([parsed.path, container, obj['name']]), '',
{'X-Auth-Token': token})
path = '/'.join([parsed.path, container,
obj['name'].encode('utf8')])
conn.request('DELETE', path, '', {'X-Auth-Token': token})
return check_response(conn)
for container in (self.name, self.container):

View File

@@ -104,9 +104,9 @@ class TestObject(unittest2.TestCase):
# delete an object
def delete(url, token, parsed, conn, container, obj):
conn.request(
'DELETE', '/'.join([parsed.path, container, obj['name']]), '',
{'X-Auth-Token': token})
path = '/'.join([parsed.path, container,
obj['name'].encode('utf8')])
conn.request('DELETE', path, '', {'X-Auth-Token': token})
return check_response(conn)
for container in self.containers:
Reference in New Issue
openstack/swift
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.