Merge "Bypass Account Mgmt Functional Cases When Disabled"
This commit is contained in:
1 changed files with 3 additions and 1 deletions
@@ -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
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.