From f41b395d1feed98361d83b614b43b00689e69e0a Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 25 Apr 2022 12:21:27 +0300 Subject: [PATCH] Added some comments Signed-off-by: Dimitris Zlatanidis --- tests/test_installed.py | 3 +++ tests/test_slack_version.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/tests/test_installed.py b/tests/test_installed.py index cf22918a..150f0cef 100644 --- a/tests/test_installed.py +++ b/tests/test_installed.py @@ -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()) diff --git a/tests/test_slack_version.py b/tests/test_slack_version.py index fba97972..6d693fb6 100644 --- a/tests/test_slack_version.py +++ b/tests/test_slack_version.py @@ -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())