You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Prasanna Santhanam (JIRA)" <ji...@apache.org> on 2013/07/17 15:56:48 UTC
[jira] [Created] (CLOUDSTACK-3592) test_projects.py: Project
invites in account fails. Invalid attr self.user.email
Prasanna Santhanam created CLOUDSTACK-3592:
----------------------------------------------
Summary: test_projects.py: Project invites in account fails. Invalid attr self.user.email
Key: CLOUDSTACK-3592
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3592
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Reporter: Prasanna Santhanam
Priority: Critical
the project creation tests fail because we refer to the email of the account.
Account's do not have emails but users within an account have emails. Refer to
the first user in an account and use his/her email for adding the account to a
project
Script:: test_projects.py:
Verify an account can own multiple projects and can belong to multiple projects ... ERROR
======================================================================
ERROR: Verify an account can own multiple projects and can belong to multiple projects
Traceback (most recent call last):
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_projects.py", line 255, in test_01_create_multiple_projects_by_account
self.user.user.email
AttributeError: 'list' object has no attribute 'email'
testclient.testcase.TestMultipleProjectCreation: DEBUG: Created project with domain admin with ID: de8e8f85-9cdd-45e4-a751-5ece9f2cd913
testclient.testcase.TestMultipleProjectCreation: DEBUG: Created project with domain user with ID: 34f39173-571d-4a57-b929-58012a9d39e7
testclient.testcase.TestMultipleProjectCreation: DEBUG: Adding account test-DLAOTT to project with email administrator@clogeny.com
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira