diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-05-23 09:34:23 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-05-23 09:34:23 +0200 |
commit | f06dd57907caa648743a73566b2b6e62b96be2fb (patch) | |
tree | df57c9496f70b83f9b10412d98887aff2d17cfcd /tests | |
parent | 29065e4a52a747b4f4cf30092ddcc3744e6aa350 (diff) | |
download | vyos-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.py | 2 |
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) |