summaryrefslogtreecommitdiff
path: root/tests/unittests/test_handler
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-12 14:09:17 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-12 14:09:17 +0200
commitdc2b81f3f6922c678806ce9120e9ce4c590243dd (patch)
tree88098b93368476c3a114db581c0efbfbe4aefdb0 /tests/unittests/test_handler
parent18864f8e7331da359399decb1b080e36fa343f5a (diff)
downloadvyos-cloud-init-dc2b81f3f6922c678806ce9120e9ce4c590243dd.tar.gz
vyos-cloud-init-dc2b81f3f6922c678806ce9120e9ce4c590243dd.zip
use recommended http mirror redirection for debian
Diffstat (limited to 'tests/unittests/test_handler')
-rw-r--r--tests/unittests/test_handler/test_handler_apt_configure_sources_list.py6
1 files changed, 3 insertions, 3 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 b8fe03ae..5255c5b9 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
@@ -96,7 +96,7 @@ class TestAptSourceConfigSourceList(t_help.FilesystemMockingTestCase):
""" test_apt_source_list_debian
Test rendering of a source.list from template for debian
"""
- self.apt_source_list('debian', 'ftp.us.debian.org')
+ self.apt_source_list('debian', 'http://httpredir.debian.org/debian')
def test_apt_source_list_ubuntu(self):
@@ -111,8 +111,8 @@ class TestAptSourceConfigSourceList(t_help.FilesystemMockingTestCase):
Test rendering of a source.list from template for debian
"""
self.apt_source_list('debian', ['http://does.not.exist',
- 'ftp.us.debian.org'],
- 'ftp.us.debian.org')
+ 'http://httpredir.debian.org/debian'],
+ 'http://httpredir.debian.org/debian')
def test_apt_srcl_ubuntu_mirrorfail(self):