def METHOD_NAME(self):
    pkg = self.sack.query().installed().filter(name="pepper")[0]
    header = pkg.get_header()
    self.assertEqual(header, "package_header_test_data")
    pkg = self.sack.query().available().filter(name="pepper")[0]
    header = pkg.get_header()
    self.assertEqual(header, None)