mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
Merge pull request #50 from felixonmars/patch-1
Update archpkg and pacman test cases to match new package version
This commit is contained in:
commit
780f75eaf7
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue