[ 
https://issues.apache.org/jira/browse/AMBARI-4226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Onischuk updated AMBARI-4226:
------------------------------------

    Attachment: AMBARI-4226.patch

> 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
>
>         Attachments: AMBARI-4226.patch
>
>
> 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