def test_check_textmarc(self):
     """bibmatch - check textmarc as input"""
     marcxml = transform_input_to_marcxml("", self.textmarc)
     records = create_records(marcxml)
     [dummy1, matchedrecs, dummy3, dummy4] = match_records(records, \
                                                           verbose=0)
     self.assertEqual(2, len(matchedrecs))
示例#2
0
 def test_check_textmarc(self):
     """bibmatch - check textmarc as input"""
     marcxml = transform_input_to_marcxml("", self.textmarc)
     records = create_records(marcxml)
     [dummy1, matchedrecs, dummy3, dummy4] = match_records(records, \
                                                           verbose=0)
     self.assertEqual(2, len(matchedrecs))
 def test_check_textmarc(self):
     """bibmatch - check textmarc as input"""
     marcxml = transform_input_to_marcxml("", self.textmarc)
     records = create_records(marcxml)
     [dummy1, matchedrecs, dummy3, dummy4] = match_records(records, \
                                                           server_url="http://invenio-demo.cern.ch")
     self.assertEqual(2, len(matchedrecs))
 def test_check_textmarc(self):
     """bibmatch - check textmarc as input"""
     marcxml = transform_input_to_marcxml("", self.textmarc)
     records = create_records(marcxml)
     [dummy1, matchedrecs, dummy3, dummy4] = match_records(records, \
                                                           server_url="http://invenio-demo.cern.ch")
     self.assertEqual(2, len(matchedrecs))
示例#5
0
 def test_check_textmarc(self):
     """bibmatch - check textmarc as input"""
     marcxml = transform_input_to_marcxml("", self.textmarc)
     records = create_records(marcxml)
     [dummy1, matchedrecs, dummy3, fuzzyrecs
      ] = match_records(records,
                        server_url="http://demo.invenio-software.org")
     self.assertEqual(2, len(matchedrecs))