[PATCH 08/10] Ignore the use of func_globals in a test case

David Shea dshea at redhat.com
Wed Sep 25 18:21:52 UTC 2013


---
 tests/pyanaconda_tests/timezone_test.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/pyanaconda_tests/timezone_test.py b/tests/pyanaconda_tests/timezone_test.py
index 3514d1f..62ff2cd 100644
--- a/tests/pyanaconda_tests/timezone_test.py
+++ b/tests/pyanaconda_tests/timezone_test.py
@@ -56,7 +56,9 @@ class s390HWclock(unittest.TestCase):
         self.arch_mock.isS390.return_value = True
         self.iutil_mock = mock.Mock()
 
+        # pylint: disable-msg=E1101
         timezone.save_hw_clock.func_globals["arch"] = self.arch_mock
+        # pylint: disable-msg=E1101
         timezone.save_hw_clock.func_globals["iutil"] = self.iutil_mock
 
     def s390_save_hw_clock_test(self):
-- 
1.8.3.1



More information about the anaconda-patches mailing list