Exemplo n.º 1
0
def skip_if_stylefiles_notfound(testfunc):
    if kpsetest(*STYLEFILES) is False:
        return skip_if(
            testfunc,
            'not running latex, the required styles do not seem to be installed'
        )
    else:
        return testfunc
Exemplo n.º 2
0
def skip_if_requested(testfunc):
    if 'SKIP_LATEX_BUILD' in os.environ:
        msg = 'Skip LaTeX builds because SKIP_LATEX_BUILD is set'
        return skip_if(True, msg)(testfunc)
    else:
        return testfunc
Exemplo n.º 3
0
def skip_if_stylefiles_notfound(testfunc):
    if kpsetest(*STYLEFILES) is False:
        return skip_if(testfunc,
                       'not running latex, the required styles do not seem to be installed')
    else:
        return testfunc