Updated for tests

This commit is contained in:
Dimitris Zlatanidis 2023-04-24 17:23:44 +03:00
parent 3e7b0c9691
commit 8fbce945e3

View file

@ -17,7 +17,7 @@ class TestSBoQueries(unittest.TestCase):
def test_sources_x86(self):
self.assertEqual(['https://gitlab.com/dslackw/slpkg/-/archive'
'/4.7.8/slpkg-4.7.8.tar.gz'], self.data[self.name][3].split())
'/4.8.0/slpkg-4.8.0.tar.gz'], self.data[self.name][3].split())
def test_sources_x86_64(self):
self.assertEqual([], self.data[self.name][4].split())
@ -26,10 +26,10 @@ class TestSBoQueries(unittest.TestCase):
self.assertEqual(['SQLAlchemy', 'python3-pythondialog', 'python3-progress'], self.data[self.name][7].split())
def test_version(self):
self.assertEqual('4.7.8', self.data[self.name][2])
self.assertEqual('4.8.0', self.data[self.name][2])
def test_checksum_x86(self):
self.assertListEqual(['d0ba1c826dc691ceec1ad12603e51330'], self.data[self.name][5].split())
self.assertListEqual(['75af7a43379407b8428dc6053fac470c'], self.data[self.name][5].split())
def test_checksum_x86_64(self):
self.assertListEqual([], self.data[self.name][6].split())