def test_empty_strings(self):
     self.assertFalse(parsers.has_biography_code("", ""))
 def test_partial_biography(self):
     leader = "00000cam a2200000Ia 4500"
     tag_008 = "961120s1988    nyu    a      000 0deng d"
     self.assertTrue(parsers.has_biography_code(leader, tag_008))
 def test_no_leader(self):
     self.assertFalse(parsers.has_biography_code(None, None))