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)

Reply via email to