Fix tests; fix copy/auth problem
This commit is contained in:
2 changed files with 3 additions and 3 deletions
@@ -120,7 +120,7 @@ class TestObject(unittest.TestCase):
'X-Copy-From': '%s/%s' % (self.container,
self.obj)})
return check_response(conn)
resp = retry(put, use_account=3)
resp = retry(copy, use_account=3)
resp.read()
self.assertEquals(resp.status, 403)
# verify third account can write "obj1" to shared container
@@ -141,7 +141,7 @@ class TestObject(unittest.TestCase):
'X-Copy-From': '%s/%s' % (self.container,
self.obj)})
return check_response(conn)
resp = retry(put, use_account=3)
resp = retry(copy, use_account=3)
resp.read()
self.assertEquals(resp.status, 403)
# clean up "obj1"
Reference in New Issue
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.