Merge "Bypass Account Mgmt Functional Cases When Disabled"
This commit is contained in:
commit
9482ef89a2
@ -173,7 +173,9 @@ class TestAccount(Base):
|
|||||||
finally:
|
finally:
|
||||||
self.env.account.conn.storage_url = was_url
|
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.env.account.conn.make_request('PUT')
|
||||||
self.assert_status([403, 405])
|
self.assert_status([403, 405])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user