Update archpkg and pacman test cases to match new package version

This commit is contained in:
Felix Yan 2017-06-27 01:31:05 +08:00
parent 018a2957ad
commit af982c19dd
No known key found for this signature in database
GPG Key ID: 786C63F330D7CB92
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ from tests.helper import ExternalVersionTestCase
reason="Travis-CI has issues connecting to the Arch website")
class ArchPKGTest(ExternalVersionTestCase):
def test_archpkg(self):
self.assertEqual(self.sync_get_version("ipw2100-fw", {"archpkg": None}), "1.3-7")
self.assertEqual(self.sync_get_version("ipw2100-fw", {"archpkg": None}), "1.3-8")
def test_archpkg_strip_release(self):
self.assertEqual(self.sync_get_version("ipw2100-fw", {"archpkg": None, "strip-release": 1}), "1.3")

View File

@ -10,7 +10,7 @@ from tests.helper import ExternalVersionTestCase
reason="requires pacman command")
class PacmanTest(ExternalVersionTestCase):
def test_pacman(self):
self.assertEqual(self.sync_get_version("ipw2100-fw", {"pacman": None}), "1.3-7")
self.assertEqual(self.sync_get_version("ipw2100-fw", {"pacman": None}), "1.3-8")
def test_pacman_strip_release(self):
self.assertEqual(self.sync_get_version("ipw2100-fw", {"pacman": None, "strip-release": 1}), "1.3")