actionsapi testleri, şimdilik sadece gnuconfig için. autotools test etmek için akılcı bir yöntem bulamadım daha
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import unittest
|
||||
|
||||
from pisi.actionsapi import gnuconfig
|
||||
|
||||
class gnuConfigTestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.gnuconfig = gnuconfig.gnuconfig_findnewest()
|
||||
|
||||
def testFindNewest(self):
|
||||
self.assertEqual(self.gnuconfig, '/usr/share/automake-1.4')
|
||||
|
||||
suite = unittest.makeSuite(gnuConfigTestCase)
|
||||
+4
-2
@@ -14,14 +14,16 @@ def run_all():
|
||||
import archivetests
|
||||
import installdbtests
|
||||
import packagedbtests
|
||||
|
||||
import actionsapitest
|
||||
|
||||
alltests = unittest.TestSuite((
|
||||
specfiletests.suite,
|
||||
contexttests.suite,
|
||||
fetchertests.suite,
|
||||
archivetests.suite,
|
||||
installdbtests.suite,
|
||||
packagedbtests. suite
|
||||
packagedbtests.suite,
|
||||
actionsapitests.suite
|
||||
))
|
||||
|
||||
runTestSuite(alltests)
|
||||
|
||||
Reference in New Issue
Block a user