'If the status file is broken, fail nicely.'

def testDebianPackagesStatusParserBadInput(self):

    parser = linux_software_parser.DebianPackagesStatusParser()
    path = os.path.join(self.base_path, 'numbers.txt')
    with open(path, 'rb') as data:
        out = list(parser.Parse(None, data, None))
    for result in out:
        self.assertIsInstance(result, rdf_anomaly.Anomaly)
