From 77b5046f14b2535fd8c48dcbce25ef8e622926f5 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 9 Aug 2012 13:12:48 -0400 Subject: test_util: add pylint ignore for FakeSelinux The methods here have to match the real Selinux signiture, so even though we dont use these variables. --- tests/unittests/test_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unittests/test_util.py b/tests/unittests/test_util.py index 93979f06..19f66cc4 100644 --- a/tests/unittests/test_util.py +++ b/tests/unittests/test_util.py @@ -14,7 +14,7 @@ class FakeSelinux(object): self.match_what = match_what self.restored = [] - def matchpathcon(self, path, mode): + def matchpathcon(self, path, mode): # pylint: disable=W0613 if path == self.match_what: return else: @@ -23,7 +23,7 @@ class FakeSelinux(object): def is_selinux_enabled(self): return True - def restorecon(self, path, recursive): + def restorecon(self, path, recursive): # pylint: disable=W0613 self.restored.append(path) -- cgit v1.2.3