Updated Branches: refs/heads/trunk 2b6b4a9b0 -> 85b85ddac
AMBARI 3673. Unit test failure in trunk (ambari-server python test) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/85b85dda Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/85b85dda Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/85b85dda Branch: refs/heads/trunk Commit: 85b85ddac2bee9077d1ff841984bbd538629736f Parents: 2b6b4a9 Author: Sumit Mohanty <[email protected]> Authored: Fri Nov 1 17:37:01 2013 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Fri Nov 1 17:37:01 2013 -0700 ---------------------------------------------------------------------- ambari-server/src/test/python/TestAmbariServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/85b85dda/ambari-server/src/test/python/TestAmbariServer.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/TestAmbariServer.py b/ambari-server/src/test/python/TestAmbariServer.py index 946fa1c..66d2865 100644 --- a/ambari-server/src/test/python/TestAmbariServer.py +++ b/ambari-server/src/test/python/TestAmbariServer.py @@ -4436,7 +4436,7 @@ MIIFHjCCAwYCCQDpHKOBI+Lt0zANBgkqhkiG9w0BAQUFADBRMQswCQYDVQQGEwJV get_validated_string_input_mock.side_effect = ['[email protected]', temp_file] # setup_ambari_krb5_jaas() should return None if everything is OK - self.assertIsNone(ambari_server.setup_ambari_krb5_jaas()) + self.assertEqual(None, ambari_server.setup_ambari_krb5_jaas()) self.assertTrue(get_validated_string_input_mock.called) self.assertEqual(get_validated_string_input_mock.call_count, 2)
