[PATCH 1/3] Add comments to the kickstart tests.
Chris Lumens
clumens at redhat.com
Tue Apr 8 19:17:45 UTC 2014
This makes the nosetest output for these tests look more like the others.
---
tests/kickstart_tests/version_test.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/kickstart_tests/version_test.py b/tests/kickstart_tests/version_test.py
index b77cb26..84fa384 100644
--- a/tests/kickstart_tests/version_test.py
+++ b/tests/kickstart_tests/version_test.py
@@ -39,6 +39,7 @@ class BaseTestCase(unittest.TestCase):
# F10 version of a command, make sure anaconda >= F10 uses the F10 version.
class CommandVersionTestCase(BaseTestCase):
def commands_test(self):
+ """Test that anaconda uses the right versions of kickstart commands"""
for (commandName, commandObj) in self._commandMap.iteritems():
pykickstartClass = self.handler.commands[commandName].__class__
self.assertIsInstance(commandObj(), pykickstartClass)
@@ -46,6 +47,7 @@ class CommandVersionTestCase(BaseTestCase):
# Do the same thing as CommandVersionTestCase, but for data objects.
class DataVersionTestCase(BaseTestCase):
def data_test(self):
+ """Test that anaconda uses the right versions of kickstart data"""
for (dataName, dataObj) in self._dataMap.iteritems():
# pykickstart does not expose data objects as a mapping the way
# it does command objects.
--
1.8.3.1
More information about the anaconda-patches
mailing list