mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8639:fixing calculation mistakes in component/test_ss_domain_limits.py
This closes #595
This commit is contained in:
parent
faaf6b1f98
commit
b400608162
|
|
@ -559,7 +559,9 @@ class TestDeleteAccount(cloudstackTestCase):
|
|||
self.assertFalse(result[0], result[1])
|
||||
self.assertTrue(result[2], "Resource count does not match")
|
||||
|
||||
expectedCount *= 2
|
||||
self.templateSize = int((int(templates[0].size)*2) / (1024**3))
|
||||
|
||||
expectedCount = self.templateSize
|
||||
result = isDomainResourceCountEqualToExpectedCount(
|
||||
self.apiclient, self.parent_domain.id,
|
||||
expectedCount, RESOURCE_SECONDARY_STORAGE)
|
||||
|
|
|
|||
Loading…
Reference in New Issue