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