mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-09 16:01:28 +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):
|
def test_unsupported(self):
|
||||||
"""Test: List all unsupported Debian distribution."""
|
"""Test: List all unsupported Debian distribution."""
|
||||||
unsupported = set(["buzz", "rex", "bo", "hamm", "slink", "potato",
|
unsupported = ["buzz", "rex", "bo", "hamm", "slink", "potato", "woody",
|
||||||
"woody", "sarge", "etch"])
|
"sarge", "etch"]
|
||||||
self.assertEqual(unsupported -
|
self.assertEqual(self._distro_info.unsupported(self._date), unsupported)
|
||||||
set(self._distro_info.unsupported(self._date)), set())
|
|
||||||
|
|
||||||
|
|
||||||
#pylint: disable=R0904
|
#pylint: disable=R0904
|
||||||
@ -102,10 +101,9 @@ class UbuntuDistroInfoTestCase(unittest.TestCase):
|
|||||||
|
|
||||||
def test_unsupported(self):
|
def test_unsupported(self):
|
||||||
"""Test: List all unsupported Ubuntu distributions."""
|
"""Test: List all unsupported Ubuntu distributions."""
|
||||||
unsupported = set(["warty", "hoary", "breezy", "edgy", "feisty",
|
unsupported = ["warty", "hoary", "breezy", "edgy", "feisty", "gutsy",
|
||||||
"gutsy", "intrepid", "jaunty"])
|
"intrepid", "jaunty"]
|
||||||
self.assertEqual(unsupported -
|
self.assertEqual(self._distro_info.unsupported(self._date), unsupported)
|
||||||
set(self._distro_info.unsupported(self._date)), set())
|
|
||||||
|
|
||||||
def test_current_unsupported(self):
|
def test_current_unsupported(self):
|
||||||
"""Test: List all unsupported Ubuntu distributions today."""
|
"""Test: List all unsupported Ubuntu distributions today."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user