You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2017/03/20 15:09:41 UTC

[jira] [Updated] (AMBARI-20500) Python UT fail on trunk

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

Andrew Onischuk updated AMBARI-20500:
-------------------------------------
    Attachment: AMBARI-20500.patch

> Python UT fail on trunk
> -----------------------
>
>                 Key: AMBARI-20500
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20500
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-20500.patch
>
>
>     ======================================================================
>     FAIL: test_get_params_from_filesystem (TestSecurityCommons.TestSecurityCommons)
>     ----------------------------------------------------------------------
>     Traceback (most recent call last):
>       File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>         return func(*args, **keywargs)
>       File "/home/user/ambari/ambari-agent/src/test/python/resource_management/TestSecurityCommons.py", line 203, in test_get_params_from_filesystem
>         et_parser_mock.assert_called_with(conf_dir + os.sep + "config.xml")
>       File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 829, in assert_called_with
>         raise AssertionError('Expected call: %s\nNot called' % (expected,))
>     AssertionError: Expected call: parse('/tmp/config.xml')
>     Not called
>     



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)