def test_path_is_file_false(): pc = PathChecker("some_dir", ".pdf") assert not pc.path_is_file()
def test_path_is_file_inexistent(): pc = PathChecker("ajxoj/io.txt", ".pdf") assert not pc.path_is_file()
def test_path_is_file_true(): pc = PathChecker("some_dir/un_fichier_pdf.pdf", ".pdf") assert pc.path_is_file()