mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-25 01:20:35 +00:00
the way search keys work has changed, updating test
This commit is contained in:
parent
2e7d2f96f8
commit
5e78de1340
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class Openlibrary(TestCase):
|
||||||
result = self.connector.format_search_result(results[0])
|
result = self.connector.format_search_result(results[0])
|
||||||
self.assertIsInstance(result, SearchResult)
|
self.assertIsInstance(result, SearchResult)
|
||||||
self.assertEqual(result.title, 'This Is How You Lose the Time War')
|
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.author, 'Amal El-Mohtar, Max Gladstone')
|
||||||
self.assertEqual(result.year, 2019)
|
self.assertEqual(result.year, 2019)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue