Assert template size is >0 in CloudStack

This commit is contained in:
Andrei Savu 2012-02-02 16:02:13 +02:00
parent e6c06e0cd0
commit 8ce2fdaafb
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ public class TemplateClientLiveTest extends BaseCloudStackClientLiveTest {
assert template.getHypervisor() != null : template; assert template.getHypervisor() != null : template;
assert template.getDomain() != null : template; assert template.getDomain() != null : template;
assert template.getDomainId() > 0 : template; assert template.getDomainId() > 0 : template;
assert template.getSize() > 0 : template;
} }
} }