mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-26 19:58:50 +01:00
Updated tests
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
59f1085715
commit
c0f04b55ba
2 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@ class TestBlacklist(unittest.TestCase):
|
|||
|
||||
def test_blacklist(self):
|
||||
black = Blacklist()
|
||||
self.assertListEqual([], black.get())
|
||||
self.assertListEqual(['%README%'], black.get())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
@ -15,16 +15,16 @@ class TestSBoQueries(unittest.TestCase):
|
|||
|
||||
def test_sources(self):
|
||||
self.assertEqual('https://gitlab.com/dslackw/slpkg/-/archive'
|
||||
'/3.9.8/slpkg-3.9.8.tar.gz', self.query.sources())
|
||||
'/4.3.0/slpkg-4.3.0.tar.gz', self.query.sources())
|
||||
|
||||
def test_requires(self):
|
||||
self.assertEqual([], self.query.requires())
|
||||
self.assertEqual(['SQLAlchemy'], self.query.requires())
|
||||
|
||||
def test_version(self):
|
||||
self.assertEqual('3.9.8', self.query.version())
|
||||
self.assertEqual('4.3.0', self.query.version())
|
||||
|
||||
def test_checksum(self):
|
||||
self.assertListEqual(['41b3f4f0f8fb8270e3b03abd2c73be2c'],
|
||||
self.assertListEqual(['ab03d0543b74abfce92287db740394c4'],
|
||||
self.query.checksum())
|
||||
|
||||
def test_files(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue