summaryrefslogtreecommitdiffstats
path: root/tests/kickstart_test
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2010-05-31 15:11:38 +0200
committerWill Woods <wwoods@redhat.com>2011-02-14 11:13:57 -0500
commit66ed0b8603f4f64c5a6be9e7dac7dadef160635b (patch)
tree88a1e6b280330b96729317f3bd93e98bca98cc14 /tests/kickstart_test
parent10f663b75120dd5107361fd21d3010d4907a1ffe (diff)
downloadanaconda-66ed0b8603f4f64c5a6be9e7dac7dadef160635b.tar.gz
anaconda-66ed0b8603f4f64c5a6be9e7dac7dadef160635b.tar.xz
anaconda-66ed0b8603f4f64c5a6be9e7dac7dadef160635b.zip
Remove the old suite() crud from kickstart testing, python-nose work differenlty
Diffstat (limited to 'tests/kickstart_test')
-rw-r--r--tests/kickstart_test/commands_test.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/kickstart_test/commands_test.py b/tests/kickstart_test/commands_test.py
index 6d472b98c..6fce53cd9 100644
--- a/tests/kickstart_test/commands_test.py
+++ b/tests/kickstart_test/commands_test.py
@@ -69,7 +69,7 @@ class CommandVersionTestCase(TestCase):
self.assertEqual(baseClass.__name__, pykickstartClass.__name__)
# Do the same thing as CommandVersionTestCase, but for data objects.
-class DataVersionTestCase(unittest.TestCase):
+class DataVersionTestCase(TestCase):
def setUp(self):
import pyanaconda.anaconda_log
pyanaconda.anaconda_log.init()
@@ -90,11 +90,4 @@ class DataVersionTestCase(unittest.TestCase):
self.assertEqual(baseClass.__name__, pykickstartClass.__name__)
-def suite():
- suite = unittest.TestSuite()
- suite.addTest(CommandVersionTestCase())
- suite.addTest(DataVersionTestCase())
- return suite
-s = suite()
-unittest.TextTestRunner(verbosity=2).run(s)