diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-08-09 13:12:48 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-08-09 13:12:48 -0400 |
commit | 77b5046f14b2535fd8c48dcbce25ef8e622926f5 (patch) | |
tree | 835ae4a24a471fff05dc6871300ec7298652bfb9 | |
parent | 75d914f7562f69a6e57798a4c4c1eedbe6420f99 (diff) | |
download | vyos-cloud-init-77b5046f14b2535fd8c48dcbce25ef8e622926f5.tar.gz vyos-cloud-init-77b5046f14b2535fd8c48dcbce25ef8e622926f5.zip |
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.
-rw-r--r-- | tests/unittests/test_util.py | 4 |
1 files 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) |