CLOUDSTACK-8639:fixing calculation mistakes in component/test_ss_domain_limits.py

This closes #595
This commit is contained in:
nitt10prashant 2015-07-15 18:33:00 +05:30 committed by sanjeev
parent faaf6b1f98
commit b400608162
1 changed files with 3 additions and 1 deletions

View File

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