Change the test to actually test using web search

This commit is contained in:
Kovid Goyal 2022-07-31 12:09:40 +05:30
parent a02453245c
commit e82a9274e7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -559,14 +559,15 @@ if __name__ == '__main__': # tests {{{
}, [title_test('Flatland', exact=False)]),
({
'title':
'The Blood Red Indian Summer: A Berger and Mitry Mystery',
'title': 'The Blood Red Indian Summer: A Berger and Mitry Mystery',
'authors': ['David Handler'],
}, [title_test('The Blood Red Indian Summer: A Berger and Mitry Mystery')
]),
({
'identifiers': {'isbn': '9781618246509'},
# requires using web search to find the book
'title': 'Dragon Done It',
'authors': ['Eric Flint'],
}, [
title_test('The dragon done it', exact=True),
authors_test(['Eric Flint', 'Mike Resnick'])