Merge "Bypass Account Mgmt Functional Cases When Disabled"

This commit is contained in:
Jenkins
2016年05月17日 08:02:58 +00:00
committed by Gerrit Code Review

View File

@@ -173,7 +173,9 @@ class TestAccount(Base):
finally:
self.env.account.conn.storage_url = was_url
def testPUT(self):
def testPUTError(self):
if load_constraint('allow_account_management'):
raise SkipTest("Allow account management is enabled")
self.env.account.conn.make_request('PUT')
self.assert_status([403, 405])
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.