summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-30 12:27:40 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-30 12:27:40 +0200
commitaa236033b159b691f5ec31885750a8167c63b2a1 (patch)
treec279d94d8692de86e083e5695acda46acbe8ff3c /tests
parent12cf5ce64f0252a67c6a9dcbd9d3c93a1a07ccad (diff)
downloadvyos-cloud-init-aa236033b159b691f5ec31885750a8167c63b2a1.tar.gz
vyos-cloud-init-aa236033b159b691f5ec31885750a8167c63b2a1.zip
drop errorlist from convert_to_new_format
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_handler/test_handler_apt_source.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/unittests/test_handler/test_handler_apt_source.py b/tests/unittests/test_handler/test_handler_apt_source.py
index 753e86a8..4536c5b2 100644
--- a/tests/unittests/test_handler/test_handler_apt_source.py
+++ b/tests/unittests/test_handler/test_handler_apt_source.py
@@ -529,7 +529,6 @@ class TestAptSourceConfig(TestCase):
'filename': self.aptlistfile2}
cfg3 = {'source': 'deb $MIRROR $RELEASE universe',
'filename': self.aptlistfile3}
- errorlist = []
checkcfg = {self.aptlistfile: {'filename': self.aptlistfile,
'source': 'deb $MIRROR $RELEASE '
'multiverse'},
@@ -539,11 +538,10 @@ class TestAptSourceConfig(TestCase):
'source': 'deb $MIRROR $RELEASE '
'universe'}}
- newcfg = cc_apt_configure.convert_to_new_format([cfg1, cfg2, cfg3],
- errorlist)
+ newcfg = cc_apt_configure.convert_to_new_format([cfg1, cfg2, cfg3])
self.assertEqual(newcfg, checkcfg)
- newcfg2 = cc_apt_configure.convert_to_new_format(newcfg, errorlist)
+ newcfg2 = cc_apt_configure.convert_to_new_format(newcfg)
self.assertEqual(newcfg2, checkcfg)