diff options
author | Barry Warsaw <barry@python.org> | 2015-01-22 19:53:04 -0500 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2015-01-22 19:53:04 -0500 |
commit | 8329ad5bad5d6b0fcb8f4736fb308914ca3600c7 (patch) | |
tree | 0add38939898c14cea23596c3fc15225e188b888 /tests/unittests/test_distros/test_generic.py | |
parent | 508670bdaf9545b6bcc8e2009e8bd3f08d6f8796 (diff) | |
download | vyos-cloud-init-8329ad5bad5d6b0fcb8f4736fb308914ca3600c7.tar.gz vyos-cloud-init-8329ad5bad5d6b0fcb8f4736fb308914ca3600c7.zip |
More conversions from mocker to mock.
Diffstat (limited to 'tests/unittests/test_distros/test_generic.py')
-rw-r--r-- | tests/unittests/test_distros/test_generic.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/unittests/test_distros/test_generic.py b/tests/unittests/test_distros/test_generic.py index 2c85cbdb..35153f0d 100644 --- a/tests/unittests/test_distros/test_generic.py +++ b/tests/unittests/test_distros/test_generic.py @@ -67,7 +67,6 @@ class TestGenericDistro(helpers.FilesystemMockingTestCase): self.patchUtils(self.tmp) d.write_sudo_rules("harlowja", rules) contents = util.load_file(d.ci_sudoers_fn) - self.restore() return contents def _count_in(self, lines_look_for, text_content): |