Github user shwetaag commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1401#discussion_r101708312
  
    --- Diff: test/integration/component/test_project_usage.py ---
    @@ -221,10 +219,35 @@ def test_01_vm_usage(self):
             #    VM.Destroy and volume .delete Event for the created account
             # 4. Delete the account
     
    +        projectlist=Project.list(self.apiclient,account=self.account.name,
    +                                 
domainid=self.account.domainid,id=self.project.id)
    +
    +        self.assertEqual(projectlist[0].vmrunning,0,"vmrunning value is 
not returned")
    --- End diff --
    
    added hasattr function to verify attributes presence


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to