ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-20500) Python UT fail on trunk
Date Mon, 20 Mar 2017 15:08:41 GMT
Andrew Onischuk created AMBARI-20500:
----------------------------------------

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



    ======================================================================
    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)

Mime
View raw message