def test_with_empty_username(self):
data = generate_password_auth_data({
'name': '',
'password': self.password,
'domain': {'id': self.domain_id},
})
self.authenticate(data, expected_status=httplib.BAD_REQUEST)
评论列表
文章目录