Skip to content

Commit

Permalink
tests: Fix BookBrainz Work sort name
Browse files Browse the repository at this point in the history
This test was expecting a sort name that is incorrect, and has since been corrected in the main database.
I'm not sure it's a good idea to run tests on entities that might change over time, as is the case here.
  • Loading branch information
MonkeyDo authored Feb 27, 2024
1 parent 286faf3 commit 083cba5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_get_literary_work_by_bbid(self):
literary_work_info = literary_work.get_literary_work_by_bbid(self.bbid1)
self.assertEqual(literary_work_info["bbid"], self.bbid1)
self.assertEqual(literary_work_info["name"], "Assassin's Creed: Brotherhood")
self.assertEqual(literary_work_info["sort_name"], "Brotherhood, Assassin's Creed:")
self.assertEqual(literary_work_info["sort_name"], "Assassin's Creed: Brotherhood")
self.assertEqual(literary_work_info["work_type"], "Novel")

def test_fetch_multiple_literary_works(self):
Expand Down

0 comments on commit 083cba5

Please sign in to comment.