From 5e78de1340a4fdf5f2e84ecf1f0f95d50c10c30c Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 10 May 2020 13:42:35 -0700 Subject: [PATCH] the way search keys work has changed, updating test --- fedireads/tests/test_connector_openlibrary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedireads/tests/test_connector_openlibrary.py b/fedireads/tests/test_connector_openlibrary.py index eb2e6b23..38e2b818 100644 --- a/fedireads/tests/test_connector_openlibrary.py +++ b/fedireads/tests/test_connector_openlibrary.py @@ -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)