weizhouapache commented on code in PR #9571:
URL: https://github.com/apache/cloudstack/pull/9571#discussion_r1727102944


##########
test/integration/component/test_acl_isolatednetwork.py:
##########
@@ -524,7 +524,7 @@ def 
test_07_createNetwork_domaindmin_forcrossdomainuser(self):
             self.fail("Domain admin is allowed to create network for users not 
in their domain ")
         except Exception as e:
             self.debug("When Domain admin tries to create network for users in 
their sub domain %s" % e)
-            if not CloudstackAclException.verifyMsginException(e, 
CloudstackAclException.NO_PERMISSION_TO_OPERATE_DOMAIN):
+            if not CloudstackAclException.verifyMsginException(e, 
CloudstackAclException.NO_PERMISSION_TO_OPERATE_SOURCE):

Review Comment:
   ```suggestion
               if not CloudstackAclException.verifyMsginException(e, 
CloudstackAclException.NO_PERMISSION_TO_OPERATE_DOMAIN):
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to