Codebase list distro-info / 2544980
Add codename python tests Stefano Rivera 12 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
7070 "sarge", "etch"]
7171 self.assertEqual(self._distro_info.unsupported(self._date), unsupported)
7272
73 def test_codename(self):
74 """Test: Codename decoding"""
75 self.assertIsNone(self._distro_info.codename('foobar'))
76 self.assertEqual(self._distro_info.codename('testing', self._date),
77 self._distro_info.testing(self._date))
78
7379
7480 #pylint: disable=R0904
7581 class UbuntuDistroInfoTestCase(unittest.TestCase):