mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Test passed
This commit is contained in:
parent
83c99d50d0
commit
5c1c7fa830
1 changed files with 6 additions and 6 deletions
|
@ -11,30 +11,30 @@ class TestSBoGreps(unittest.TestCase):
|
|||
"""Test package source
|
||||
"""
|
||||
source = self.grep.source()
|
||||
flask_source = ('https://files.pythonhosted.org/packages/4e/0b/'
|
||||
'cb02268c90e67545a0e3a37ea1ca3d45de3aca43ceb7dbf'
|
||||
'1712fb5127d5d/Flask-1.1.2.tar.gz')
|
||||
flask_source = ('https://files.pythonhosted.org/packages/source/f'
|
||||
'/flask/Flask-2.1.2.tar.gz')
|
||||
self.assertEqual(source, flask_source)
|
||||
|
||||
def test_requires(self):
|
||||
"""Test package requires
|
||||
"""
|
||||
requires = self.grep.requires()
|
||||
flask_dep = ['werkzeug', 'python3-itsdangerous', 'click']
|
||||
flask_dep = ['werkzeug', 'python3-itsdangerous',
|
||||
'click', 'python-importlib_metadata']
|
||||
self.assertListEqual(requires, flask_dep)
|
||||
|
||||
def test_version(self):
|
||||
"""Test package version
|
||||
"""
|
||||
version = self.grep.version()
|
||||
flask_ver = '1.1.2'
|
||||
flask_ver = '2.1.2'
|
||||
self.assertEqual(version, flask_ver)
|
||||
|
||||
def test_checksum(self):
|
||||
"""Test package checksum
|
||||
"""
|
||||
checksum = self.grep.checksum()
|
||||
flask_md5 = ['0da4145d172993cd28a6c619630cc19c']
|
||||
flask_md5 = ['93f1832e5be704ef6ff2a4124579cd85']
|
||||
self.assertListEqual(checksum, flask_md5)
|
||||
|
||||
def test_description(self):
|
||||
|
|
Loading…
Reference in a new issue