All responsibilty for running through nose belongs to the marvin-nose plugin

This commit is contained in:
Prasanna Santhanam 2012-07-23 19:25:07 +05:30
parent 18eff63e20
commit ef05939910
1 changed files with 0 additions and 22 deletions

View File

@ -1,22 +0,0 @@
import nose
import nose.core
class NoseTestExecuteEngine(object):
"""
Runs the CloudStack tests using nose as the execution engine
"""
def __init__(self, testclient=None, clientLog=None, resultLog=None):
self.runner = \
nose.core.TextTestRunner(stream=resultLog,
descriptions=True, verbosity=2, config=self.cfg)
def runTests(self):
if self.workingdir is not None:
nose.core.TestProgram(argv=options, testRunner=self.runner,
config=self.cfg)
elif self.filename is not None:
tests = self.loader.loadTestsFromFile(self.filename)
nose.core.TestProgram(argv=options, testRunner=self.runner,
config=self.cfg)