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