weizhouapache commented on a change in pull request #6152:
URL: https://github.com/apache/cloudstack/pull/6152#discussion_r832092152



##########
File path: test/integration/component/test_project_limits.py
##########
@@ -1020,7 +1026,7 @@ def setUpClass(cls):
     def tearDownClass(cls):
         try:
             #Cleanup resources used
-            cleanup_resources(cls.api_client, cls._cleanup)
+            cleanup_resources(cls.api_client, reversed(cls._cleanup))

Review comment:
       You can consider `super(TestProjectLimits, cls).tearDownClass()`

##########
File path: test/integration/component/test_project_limits.py
##########
@@ -1040,7 +1046,7 @@ def setUp(self):
     def tearDown(self):
         try:
             #Clean up, terminate the created network offerings
-            cleanup_resources(self.apiclient, self.cleanup)
+            cleanup_resources(self.apiclient, reversed(self.cleanup))

Review comment:
       You can consider `super(TestProjectLimits, self).tearDown()`




-- 
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