def test_path_exists_false(): pc = PathChecker("ajxoj/io.txt", ".pdf") assert not pc.path_exists()
def test_path_exists_true(): pc = PathChecker("some_dir/un_fichier_pdf.pdf", ".pdf") assert pc.path_exists()