def runLocal(): context = {'server': 'http://localhost:81', 'test_dir': 'tests'} writer = ConsoleWriter() testCore = TestCore() testCore.runTests(context, writer) print writer.getPage()
def runLocal(): context = {'server':'http://localhost:81', 'test_dir':'tests'} writer = ConsoleWriter() testCore = TestCore() testCore.runTests(context, writer) print writer.getPage()
def index(instance='instance=tracks.osll.spb.ru:81'): if (instance != None): netArgs = instance.split('='); if (netArgs[0] != 'instance'): return errMessage else: instance = 'http://' + netArgs[1] print instance context = {'server':instance, 'test_dir':'tests'} writer = HTMLWriter() testCore = TestCore() testCore.runTests(context, writer) return writer.getPage()