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