diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-09-02 12:18:21 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-09-02 12:18:21 -0400 |
commit | cc77628e1ee3cd03d1ec2e17f1d744c8f4b0938b (patch) | |
tree | e9bdcbc699eda6db5e57d35b25d222bead96da12 /tests/unittests/test_util.py | |
parent | fbfd3789ede42ad50e0b79f202ab18b65537af52 (diff) | |
parent | e39abc783f7edd6435dbc7ea1fc3d02e6b3955d3 (diff) | |
download | vyos-cloud-init-cc77628e1ee3cd03d1ec2e17f1d744c8f4b0938b.tar.gz vyos-cloud-init-cc77628e1ee3cd03d1ec2e17f1d744c8f4b0938b.zip |
merge from trunk
Diffstat (limited to 'tests/unittests/test_util.py')
-rw-r--r-- | tests/unittests/test_util.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/unittests/test_util.py b/tests/unittests/test_util.py index 0cb41520..35e92445 100644 --- a/tests/unittests/test_util.py +++ b/tests/unittests/test_util.py @@ -1,5 +1,3 @@ -# pylint: disable=C0301 -# the mountinfo data lines are too long import os import stat import yaml @@ -18,7 +16,7 @@ class FakeSelinux(object): self.match_what = match_what self.restored = [] - def matchpathcon(self, path, mode): # pylint: disable=W0613 + def matchpathcon(self, path, mode): if path == self.match_what: return else: @@ -27,7 +25,7 @@ class FakeSelinux(object): def is_selinux_enabled(self): return True - def restorecon(self, path, recursive): # pylint: disable=W0613 + def restorecon(self, path, recursive): self.restored.append(path) |