コード例 #1
0
ファイル: test_docs.py プロジェクト: timvink/tokenwiser
def test_fpath(fpath):
    check_md_file(fpath)
コード例 #2
0
ファイル: test_markdown.py プロジェクト: koaning/mktestdocs
def test_files_good(fpath):
    check_md_file(fpath=fpath)
コード例 #3
0
ファイル: test_markdown.py プロジェクト: koaning/mktestdocs
def test_big_files_good():
    """Confirm that we can deal with multi-cell markdown cells."""
    check_md_file(fpath="tests/data/big-good.md", memory=True)
コード例 #4
0
ファイル: test_markdown.py プロジェクト: koaning/mktestdocs
def test_big_file_independant():
    """Confirm that different files don't influence eachother."""
    check_md_file(fpath="tests/data/big-good.md", memory=True)
    with pytest.raises(Exception):
        check_md_file(fpath="tests/data/big-bad.md", memory=True)
コード例 #5
0
ファイル: test_markdown.py プロジェクト: koaning/mktestdocs
def test_files_bad(fpath):
    with pytest.raises(Exception):
        check_md_file(fpath=fpath)