mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-05 08:46:20 +01:00
Pass test queries
This commit is contained in:
parent
b5f07a992b
commit
604cc98b7b
1 changed files with 5 additions and 5 deletions
|
@ -14,17 +14,17 @@ class TestSBoQueries(unittest.TestCase):
|
||||||
self.assertEqual('system', self.query.location())
|
self.assertEqual('system', self.query.location())
|
||||||
|
|
||||||
def test_sources(self):
|
def test_sources(self):
|
||||||
self.assertEqual('https://gitlab.com/dslackw/slpkg/-/archive'
|
self.assertEqual(['https://gitlab.com/dslackw/slpkg/-/archive'
|
||||||
'/4.3.0/slpkg-4.3.0.tar.gz', self.query.sources())
|
'/4.3.7/slpkg-4.3.7.tar.gz'], self.query.sources())
|
||||||
|
|
||||||
def test_requires(self):
|
def test_requires(self):
|
||||||
self.assertEqual(['SQLAlchemy'], self.query.requires())
|
self.assertEqual(['SQLAlchemy', 'python-toml'], self.query.requires())
|
||||||
|
|
||||||
def test_version(self):
|
def test_version(self):
|
||||||
self.assertEqual('4.3.0', self.query.version())
|
self.assertEqual('4.3.7', self.query.version())
|
||||||
|
|
||||||
def test_checksum(self):
|
def test_checksum(self):
|
||||||
self.assertListEqual(['ab03d0543b74abfce92287db740394c4'],
|
self.assertListEqual(['5a55fd350004b3e49a060835a7ada3e9'],
|
||||||
self.query.checksum())
|
self.query.checksum())
|
||||||
|
|
||||||
def test_files(self):
|
def test_files(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue