Andrew Onischuk created AMBARI-4226:
---------------------------------------

             Summary: Unittests for Package resource an all it's attributes 
mocking to both suse and centos.
                 Key: AMBARI-4226
                 URL: https://issues.apache.org/jira/browse/AMBARI-4226
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 1.5.0


Test package with mocking both suse and centos os (to test yum and zypper 
installers). Test all actions and all the attributes.

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.5#6160)

Reply via email to