示例#1
0
def test_path_is_file_false():
	pc = PathChecker("some_dir", ".pdf")
	assert not pc.path_is_file()
示例#2
0
def test_path_is_file_inexistent():
	pc = PathChecker("ajxoj/io.txt", ".pdf")
	assert not pc.path_is_file()
示例#3
0
def test_path_is_file_true():
	pc = PathChecker("some_dir/un_fichier_pdf.pdf", ".pdf")
	assert pc.path_is_file()