diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-05-11 18:44:52 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-05-11 18:44:52 +0200 |
commit | da2640951d2d87f38dd539e53115af98f12c11ac (patch) | |
tree | 3c23cd1b510ee16608c497e2c642d5e7668007e3 /tests/unittests | |
parent | d5bc051cdc418efa0a910f8b61790523b89e8f91 (diff) | |
download | vyos-cloud-init-da2640951d2d87f38dd539e53115af98f12c11ac.tar.gz vyos-cloud-init-da2640951d2d87f38dd539e53115af98f12c11ac.zip |
fix pep8 warning
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/test_handler/test_handler_apt_source.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/test_handler/test_handler_apt_source.py b/tests/unittests/test_handler/test_handler_apt_source.py index de009174..01d56559 100644 --- a/tests/unittests/test_handler/test_handler_apt_source.py +++ b/tests/unittests/test_handler/test_handler_apt_source.py @@ -173,7 +173,8 @@ class TestAptSourceConfig(TestCase): with mock.patch.object(util, 'subp') as mockobj: cc_apt_configure.add_sources([cfg], params) - mockobj.assert_called_once_with(('apt-key', 'add', '-'), 'fakekey 4242') + mockobj.assert_called_once_with(('apt-key', 'add', '-'), + 'fakekey 4242') # filename should be ignored on key only self.assertFalse(os.path.isfile(self.aptlistfile)) |