コード例 #1
0
ファイル: test.py プロジェクト: rowhit/rst2pdf
def releasetest():
    '''To run these tests (after you run setup.py install), run
    nosetests -i releasetest'''
    testfiles = globjoin(PathInfo.inpdir, '*.txt')
    results = {}
    for fname in testfiles:
        yield RunInstalledTest(fname), fname
コード例 #2
0
ファイル: test.py プロジェクト: rowhit/rst2pdf
def regulartest():
    '''To run these tests (similar to autotest), run
    nosetests -i regulartest'''
    testfiles = globjoin(PathInfo.inpdir, '*.txt')
    results = {}
    for fname in testfiles:
        yield RunTest(fname), fname
コード例 #3
0
def releasetest():
    """To run these tests (after you run setup.py install), run
    nosetests -i releasetest"""
    testfiles = globjoin(PathInfo.inpdir, "*.txt")
    results = {}
    for fname in testfiles:
        yield RunInstalledTest(fname), fname
コード例 #4
0
def regulartest():
    """To run these tests (similar to autotest), run
    nosetests -i regulartest"""
    testfiles = globjoin(PathInfo.inpdir, "*.txt")
    results = {}
    for fname in testfiles:
        yield RunTest(fname), fname
コード例 #5
0
ファイル: test.py プロジェクト: rowhit/rst2pdf
def sphinxtest():
    '''To run these tests , run nosetests -i sphinxtest'''
    testfiles = globjoin(PathInfo.inpdir, 'sphinx*/')
    results = {}
    for fname in testfiles:
        yield RunSphinxTest(fname), fname
コード例 #6
0
def sphinxtest():
    """To run these tests , run nosetests -i sphinxtest"""
    testfiles = globjoin(PathInfo.inpdir, "sphinx*/")
    results = {}
    for fname in testfiles:
        yield RunSphinxTest(fname), fname
コード例 #7
0
ファイル: test.py プロジェクト: EronHennessey/rst2pdf
def sphinxtest():
    '''To run these tests , run nosetests -i sphinxtest'''
    testfiles = globjoin(PathInfo.inpdir, 'sphinx*/')
    results = {}
    for fname in testfiles:
        yield RunSphinxTest(fname), fname