mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-27 19:58:21 +01:00
Added some comments
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
b55d66cbfc
commit
f41b395d1f
2 changed files with 5 additions and 0 deletions
|
@ -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())
|
||||
|
||||
|
||||
|
|
|
@ -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())
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue