[Piuparts-commits] [piuparts] 02/03: tests: Remove the Ubuntu devel release test

Holger Levsen holger at moszumanska.debian.org
Mon Oct 20 18:34:15 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit b6fe18a937b5382378eb89728acf8803a05dafec
Author: Iain Lane <iain at orangesquash.org.uk>
Date:   Mon Oct 20 19:25:43 2014 +0100

    tests: Remove the Ubuntu devel release test
    
    Now that we're using distro-info, this test will break whenever the
    devel release changes, and the fix to use distro-info wouldn't be a good
    test.
---
 tests/test_piuparts.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/test_piuparts.py b/tests/test_piuparts.py
index 8d6498e..ff1ba7c 100644
--- a/tests/test_piuparts.py
+++ b/tests/test_piuparts.py
@@ -42,7 +42,6 @@ class DefaultsFactoryTests(unittest.TestCase):
         self.assertEqual(defaults.get_keyring(), '/usr/share/keyrings/ubuntu-archive-keyring.gpg')
         self.assertEqual(defaults.get_components(), ["main", "universe", "restricted", "multiverse"])
         self.assertEqual(defaults.get_mirror(), [("http://archive.ubuntu.com/ubuntu", ["main", "universe", "restricted", "multiverse"])])
-        self.assertEqual(defaults.get_distribution(), ['vivid'])
 
     def test_new_defaults_panics_with_unknown_flavor(self):
         # mock the guess_flavor function as it runs lsb_release in a subprocess

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list