cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3592) test_projects.py: Project invites in account fails. Invalid attr self.user.email
Date Wed, 17 Jul 2013 13:58:50 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13711091#comment-13711091
] 

ASF subversion and git services commented on CLOUDSTACK-3592:
-------------------------------------------------------------

Commit 22cb5be8b6e38fb9e27f86e264c6438e10192311 in branch refs/heads/master from [~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=22cb5be ]

CLOUDSTACK-3592: Fix project email reference.

Emails belong to user's within accounts. Refer to the first user within
the account and use his email for account invites.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>

                
> 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

Mime
View raw message