summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-06-06 09:04:29 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-06-06 09:04:29 +0200
commiteee526be37d47bae4196b88c3b2ecd4fdf0bbc8c (patch)
tree32f8074395121b68e64f0da267a6758bf299a0bf /tests
parent1b32f10f431aa9138346f20e421442bf935399b5 (diff)
downloadvyos-cloud-init-eee526be37d47bae4196b88c3b2ecd4fdf0bbc8c.tar.gz
vyos-cloud-init-eee526be37d47bae4196b88c3b2ecd4fdf0bbc8c.zip
test alternate keyserver
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_handler/test_handler_apt_source.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unittests/test_handler/test_handler_apt_source.py b/tests/unittests/test_handler/test_handler_apt_source.py
index 4d8ae46a..a4878124 100644
--- a/tests/unittests/test_handler/test_handler_apt_source.py
+++ b/tests/unittests/test_handler/test_handler_apt_source.py
@@ -473,6 +473,15 @@ class TestAptSourceConfig(TestCase):
self.apt_src_keyid_real(cfg, EXPECTEDKEY)
+ def test_apt_src_longkeyid_ks_real(self):
+ """test_apt_src_longkeyid_ks_real - Test long keyid from other ks"""
+ keyid = "B59D 5F15 97A5 04B7 E230 6DCA 0620 BBCF 0368 3F77"
+ cfg = {'keyid': keyid,
+ 'keyserver': 'keys.gnupg.net',
+ 'filename': self.aptlistfile}
+
+ self.apt_src_keyid_real(cfg, EXPECTEDKEY)
+
def test_apt_src_ppa(self):
"""test_apt_src_ppa
Test specification of a ppa