ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-3873) Unittests for User resource an all it's attributes
Date Mon, 25 Nov 2013 17:26:40 GMT

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

Dmitry Lysnichenko commented on AMBARI-3873:
--------------------------------------------

+1

> Unittests for User resource an all it's attributes
> --------------------------------------------------
>
>                 Key: AMBARI-3873
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3873
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.5.0
>            Reporter: Eugene Chekanskiy
>            Assignee: Eugene Chekanskiy
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-3873.patch
>
>
> Test resource User of resource management . Test all actions and all the attributes.
Please make sure we mock to check both cases when user already exists and when it's not.
> Note here we should not call directly provider methods like action_create, but make resource
management library do that for us, by calling env.run(). In other case test won't cover resources
definitions, and other import logic



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message