예제 #1
0
def test_fpath(fpath):
    check_md_file(fpath)
예제 #2
0
def test_files_good(fpath):
    check_md_file(fpath=fpath)
예제 #3
0
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
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
def test_files_bad(fpath):
    with pytest.raises(Exception):
        check_md_file(fpath=fpath)