def test_rule_two(self): result = parser.conditional_MARC21( self.marc_record, self.rule2) self.assertEquals(result, ['http://doi.example.com/'])
def test_rule_one(self): result = parser.conditional_MARC21( self.marc_record, self.rule1) self.assertEquals(result, ['3813501159'])