You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/02/09 07:53:52 UTC
[GitHub] [cloudstack] sureshanaparti commented on a change in pull request #5959: Quota test fixes
sureshanaparti commented on a change in pull request #5959:
URL: https://github.com/apache/cloudstack/pull/5959#discussion_r802360721
##########
File path: test/integration/plugins/test_quota.py
##########
@@ -244,10 +235,9 @@ def test_06_quota(self):
cmd.startdate = today
response = self.apiclient.quotaBalance(cmd)
- self.debug("Quota Balance on: %s" % response.startdate)
- self.debug("is: %s" % response.startquota)
+ self.debug(f"Quota Balance: {response.balance}")
- self.assertEqual( response.startquota, 10)
+ self.assertEqual( response.startquota, 0, f"startQuota is supposed to be o but was {response.balance.startquota}")
Review comment:
```suggestion
self.assertEqual( response.startquota, 0, f"startQuota is 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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org