def run(args=u''): ''' Run OutWiker from sources ''' with lcd("src"): execute(u'{} runoutwiker.py {}'.format(getPython(), args.decode('utf8')))
def _runTests(testdir, prefix, section=u'', *args): files = [ fname[len(testdir) + 1:] for fname in glob.glob(u'{path}/{prefix}*.py'.format(path=testdir, prefix=prefix)) ] files.sort() with lcd(testdir): if section: execute("{python} {prefix}{section}.py {params}".format( python=getPython(), prefix=prefix, section=section, params=u' '.join(args))) else: with settings(warn_only=True): for fname in files: execute("{python} {fname} {params}".format( python=getPython(), fname=fname, params=u' '.join(args)))
def _runTests(testdir, prefix, section=u'', *args): files = [fname[len(testdir) + 1:] for fname in glob.glob(u'{path}/{prefix}*.py'.format(path=testdir, prefix=prefix))] files.sort() with lcd(testdir): if section: execute("{python} {prefix}{section}.py {params}".format( python=getPython(), prefix=prefix, section=section, params=u' '.join(args)) ) else: with settings(warn_only=True): for fname in files: execute("{python} {fname} {params}".format( python=getPython(), fname=fname, params=u' '.join(args)) )
def run(args=u''): ''' Run OutWiker from sources ''' with lcd("src"): execute(u'{} runoutwiker.py {}'.format(getPython(), args))
def run(args=u''): """ Run OutWiker from sources """ with lcd("src"): execute(u'{} runoutwiker.py {}'.format(getPython(), args.decode('utf8')))