mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-14 00:21:08 +00:00
Make distro-info tests scricter.
This commit is contained in:
parent
877592d0a4
commit
56b5ee1703
@ -60,10 +60,9 @@ class DebianDistroInfoTestCase(unittest.TestCase):
|
||||
|
||||
def test_unsupported(self):
|
||||
"""Test: List all unsupported Debian distribution."""
|
||||
unsupported = set(["buzz", "rex", "bo", "hamm", "slink", "potato",
|
||||
"woody", "sarge", "etch"])
|
||||
self.assertEqual(unsupported -
|
||||
set(self._distro_info.unsupported(self._date)), set())
|
||||
unsupported = ["buzz", "rex", "bo", "hamm", "slink", "potato", "woody",
|
||||
"sarge", "etch"]
|
||||
self.assertEqual(self._distro_info.unsupported(self._date), unsupported)
|
||||
|
||||
|
||||
#pylint: disable=R0904
|
||||
@ -102,10 +101,9 @@ class UbuntuDistroInfoTestCase(unittest.TestCase):
|
||||
|
||||
def test_unsupported(self):
|
||||
"""Test: List all unsupported Ubuntu distributions."""
|
||||
unsupported = set(["warty", "hoary", "breezy", "edgy", "feisty",
|
||||
"gutsy", "intrepid", "jaunty"])
|
||||
self.assertEqual(unsupported -
|
||||
set(self._distro_info.unsupported(self._date)), set())
|
||||
unsupported = ["warty", "hoary", "breezy", "edgy", "feisty", "gutsy",
|
||||
"intrepid", "jaunty"]
|
||||
self.assertEqual(self._distro_info.unsupported(self._date), unsupported)
|
||||
|
||||
def test_current_unsupported(self):
|
||||
"""Test: List all unsupported Ubuntu distributions today."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user