Eugene Chekanskiy created AMBARI-3873:
-----------------------------------------

             Summary: 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


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)

Reply via email to