def test__single_with_real_parser(self):
    provider = IdentifierLookupCoverageProvider(self._default_collection)
    (tree, identifier) = (self._tree('single'), self._id('single'))
    metadata = self._blank_metadata(identifier)
    result = provider._single(tree, metadata)
    assert isinstance(result, Metadata)
    assert (result._data_source == 'OCLC Classify')
    assert (result.primary_identifier == identifier)
    self._check_measurements(result.measurements, 'single')
    [author] = result.contributors
    assert isinstance(author, ContributorData)
    assert (self._get_contributor_info(author) == ('Melville, Herman', 'n79006936', '27068555', ['Author'], {'deathDate': '1891', 'birthDate': '1819'}))
def test__single_with_real_parser(self):
    provider = IdentifierLookupCoverageProvider(self._default_collection)
    (tree, identifier) = (self._tree('single'), self._id('single'))
    metadata = self._blank_metadata(identifier)
    result = provider._single(tree, metadata)
    assert isinstance(result, Metadata)
    assert (result._data_source == 'OCLC Classify')
    assert (result.primary_identifier == identifier)
    self._check_measurements(result.measurements, 'single')
    [author] = result.contributors
    assert isinstance(author, ContributorData)
    assert (self._get_contributor_info(author) == ('Melville, Herman', 'n79006936', '27068555', ['Author'], {'deathDate': '1891', 'birthDate': '1819'}))