the way search keys work has changed, updating test

This commit is contained in:
Mouse Reeve 2020-05-10 13:42:35 -07:00
parent 2e7d2f96f8
commit 5e78de1340

View file

@ -43,7 +43,7 @@ class Openlibrary(TestCase):
result = self.connector.format_search_result(results[0])
self.assertIsInstance(result, SearchResult)
self.assertEqual(result.title, 'This Is How You Lose the Time War')
self.assertEqual(result.key, 'OL20639540W')
self.assertEqual(result.key, 'https://openlibrary.org/works/OL20639540W')
self.assertEqual(result.author, 'Amal El-Mohtar, Max Gladstone')
self.assertEqual(result.year, 2019)