From 7e5e42e05c867bcdb7185b22e0db26f9535b4b1e Mon Sep 17 00:00:00 2001 From: Terry Howe Date: Thu, 12 Feb 2015 05:14:24 -0700 Subject: [PATCH] Fix broken py3 tests py3 did not like the mock to int comparison. Change-Id: If8dde95543eba0313c605a94de1d0c24795b5b0c --- bashate/tests/test_bashate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bashate/tests/test_bashate.py b/bashate/tests/test_bashate.py index 26cccfc..b5d7e49 100644 --- a/bashate/tests/test_bashate.py +++ b/bashate/tests/test_bashate.py @@ -62,6 +62,7 @@ class TestBashate(base.TestCase): m_argparser.return_value = m_parser_obj m_run_obj = mock.MagicMock() + m_run_obj.WARNINGS = 1 m_run_obj.ERRORS = 1 m_bashaterun.return_value = m_run_obj