sureshanaparti commented on a change in pull request #5959:
URL: https://github.com/apache/cloudstack/pull/5959#discussion_r802361064
##########
File path: test/integration/plugins/test_quota.py
##########
@@ -267,9 +257,8 @@ def test_07_quota(self):
cmd.enddate = today
response = self.apiclient.quotaBalance(cmd)
- self.debug("Quota Balance on: %s" % response.startdate)
- self.debug("is: %s" % response.startquota)
+ self.debug("Quota Balance: {response.balance}")
- self.assertEqual( response.startquota, 0)
- self.assertEqual( response.endquota, 10)
+ self.assertEqual( response.balance.startquota, 0, f"startquota was
supposed to be 0 but was {response.balance.startquota}")
Review comment:
```suggestion
self.assertEqual( response.balance.startquota, 0, f"startquota was
supposed to be 0 but was {response.balance.startquota}")
```
--
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]