Fixes unit tests
This commit is contained in:
parent
e2f39a1bd5
commit
701be26100
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ class SelfConnector(TestCase):
|
|||
|
||||
|
||||
def test_format_search_result(self):
|
||||
result = self.connector.format_search_result(self.edition)
|
||||
result = self.connector.search('Edition of Example')[0]
|
||||
self.assertEqual(result.title, 'Edition of Example Work')
|
||||
self.assertEqual(result.key, self.edition.remote_id)
|
||||
self.assertEqual(result.author, 'Anonymous')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue