def test_with_disabled_user(self):
data = generate_password_auth_data({
'name': 'disabled',
'password': self.password,
'domain': {'id': uuid.uuid4().hex},
})
self.authenticate(data, expected_status=httplib.FORBIDDEN)
评论列表
文章目录