Eugene Chekanskiy created AMBARI-3817:
-----------------------------------------

             Summary: Unittests for Group resource an all it's attributes
                 Key: AMBARI-3817
                 URL: https://issues.apache.org/jira/browse/AMBARI-3817
             Project: Ambari
          Issue Type: Bug
          Components: agent
    Affects Versions: 1.5.0
            Reporter: Eugene Chekanskiy
            Assignee: Eugene Chekanskiy
             Fix For: 1.5.0
         Attachments: AMBARI-3817.patch

Test resource Group of resource management . Test all actions and all the 
attributes.
Here we should mock to test both scenarios where group 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