Added some comments

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-04-25 12:21:27 +03:00
parent b55d66cbfc
commit f41b395d1f
2 changed files with 5 additions and 0 deletions

View file

@ -10,9 +10,12 @@ class TestPkgInstalled(unittest.TestCase):
self.installed = GetFromInstalled('aaa_base')
def test_pkg_name(self):
"""Testing the installed package name
"""
self.assertEqual(self.pkg_name, self.installed.name())
def test_pkg_version(self):
"""Testing the version of installed package"""
self.assertEqual(self.pkg_ver, self.installed.version())

View file

@ -5,6 +5,8 @@ from slpkg.slack.slack_version import slack_ver
class TestSlackVersion(unittest.TestCase):
def test_slack_version(self):
"""Testing the current Slackware version
"""
ver = '15.0'
self.assertEqual(ver, slack_ver())