[PATCH 3/3] Remove the old suite() crud from kickstart testing, python-nose work differenlty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 tests/kickstart_test/commands_test.py |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/tests/kickstart_test/commands_test.py b/tests/kickstart_test/commands_test.py
index ef33bba..f0d5187 100644
--- a/tests/kickstart_test/commands_test.py
+++ b/tests/kickstart_test/commands_test.py
@@ -65,7 +65,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.kickstart
         import pykickstart.version
@@ -83,11 +83,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)
-- 
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux