Esempio n. 1
0
def test_fileIsPDFSucceeds():
    assert backend.fileIsPDF('testfiles/Test Page.pdf') == True
def test_fileIsPDFSucceeds():
    assert backend.fileIsPDF('testfiles/Test Page.pdf') == True
Esempio n. 3
0
def test_fileIsPDFFails():
    assert backend.fileIsPDF('testfiles/NotPdf.txt') == False
def test_fileIsPDFFails():
    assert backend.fileIsPDF('testfiles/NotPdf.txt') == False