mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-27 09:58:10 +01:00
Fixed pylint errors
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
dfe9ff6ebe
commit
7d518ecd23
1 changed files with 10 additions and 3 deletions
|
@ -5,16 +5,23 @@ from slpkg.load_data import LoadData
|
|||
|
||||
class TestPkgInstalled(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
""" Test for installed.
|
||||
"""
|
||||
|
||||
def setUp(self) -> None:
|
||||
load = LoadData()
|
||||
self.data = load.load('sbo')
|
||||
self.check = Check('sbo')
|
||||
self.packages = ['colored', 'sbo-create', 'sun']
|
||||
|
||||
def test_check_exists(self):
|
||||
def test_check_exists(self) -> None:
|
||||
""" Check if packages exist.
|
||||
"""
|
||||
self.assertIsNone(self.check.package_exists_in_the_database(self.packages, self.data))
|
||||
|
||||
def test_check_is_installed(self):
|
||||
def test_check_is_installed(self) -> None:
|
||||
""" Check if installed.
|
||||
"""
|
||||
self.assertIsNone(self.check.is_package_installed(self.packages))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue