def test_path_is_dir_false(): pc = PathChecker("some_dir/un_fichier_pdf.pdf", ".pdf") assert not pc.path_is_dir()
def test_path_is_dir_inexistent(): pc = PathChecker("ajxoj", ".pdf") assert not pc.path_is_dir()
def test_path_is_dir_true(): pc = PathChecker("some_dir", ".pdf") assert pc.path_is_dir()