summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-23 09:34:23 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-23 09:34:23 +0200
commitf06dd57907caa648743a73566b2b6e62b96be2fb (patch)
treedf57c9496f70b83f9b10412d98887aff2d17cfcd /tests
parent29065e4a52a747b4f4cf30092ddcc3744e6aa350 (diff)
downloadvyos-cloud-init-f06dd57907caa648743a73566b2b6e62b96be2fb.tar.gz
vyos-cloud-init-f06dd57907caa648743a73566b2b6e62b96be2fb.zip
drop unused mockappsubp
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_handler/test_handler_apt_configure_sources_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_handler/test_handler_apt_configure_sources_list.py b/tests/unittests/test_handler/test_handler_apt_configure_sources_list.py
index 1aa4f553..353422a2 100644
--- a/tests/unittests/test_handler/test_handler_apt_configure_sources_list.py
+++ b/tests/unittests/test_handler/test_handler_apt_configure_sources_list.py
@@ -151,7 +151,7 @@ class TestAptSourceConfigSourceList(t_help.FilesystemMockingTestCase):
# the second mock restores the original subp
with mock.patch.object(util, 'write_file') as mockwrite:
- with mock.patch.object(util, 'subp', self.subp) as mocksubp:
+ with mock.patch.object(util, 'subp', self.subp):
cc_apt_configure.handle("notimportant", cfg, mycloud,
LOG, None)