diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-05-12 13:44:29 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-05-12 13:44:29 +0200 |
commit | d2af10ab5d3fef34934c04d4590ea611204f44c5 (patch) | |
tree | 364b3e16311b5c00559b51ebe20ebc84577f6142 | |
parent | 6fc583a4bcb49f7dbecdac095bc63e90dd6edaf3 (diff) | |
download | vyos-cloud-init-d2af10ab5d3fef34934c04d4590ea611204f44c5.tar.gz vyos-cloud-init-d2af10ab5d3fef34934c04d4590ea611204f44c5.zip |
order code in test order
-rw-r--r-- | tests/unittests/test_handler/test_handler_apt_configure_sources_list.py | 14 |
1 files changed, 7 insertions, 7 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 bac2da24..d48167c9 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 @@ -92,13 +92,6 @@ class TestAptSourceConfigSourceList(t_help.FilesystemMockingTestCase): mirrorcheck}) - def test_apt_source_list_ubuntu(self): - """ test_apt_source_list_ubuntu - Test rendering of a source.list from template for ubuntu - """ - self.apt_source_list('ubuntu', 'http://archive.ubuntu.com/ubuntu/') - - def test_apt_source_list_debian(self): """ test_apt_source_list_debian Test rendering of a source.list from template for debian @@ -106,6 +99,13 @@ class TestAptSourceConfigSourceList(t_help.FilesystemMockingTestCase): self.apt_source_list('debian', 'ftp.us.debian.org') + def test_apt_source_list_ubuntu(self): + """ test_apt_source_list_ubuntu + Test rendering of a source.list from template for ubuntu + """ + self.apt_source_list('ubuntu', 'http://archive.ubuntu.com/ubuntu/') + + def test_apt_srcl_ubuntu_mirrorfail(self): """ test_apt_source_list_ubuntu_mirrorfail Test rendering of a source.list from template for ubuntu |