Skip to content

Commit

Permalink
Fix AccuRip test that can vary with changes in the database
Browse files Browse the repository at this point in the history
Signed-off-by: Avery <saint_erk@tutanota.com>
  • Loading branch information
saint-erk committed Jan 5, 2025
1 parent 799fd92 commit 18de1ba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions whipper/test/test_common_accurip.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ def test_AccurateRipResponse_parses_correctly(self):
self.assertEqual(responses[1].discId1, '0000f21c')
self.assertEqual(responses[1].discId2, '00027ef8')
self.assertEqual(responses[1].cddbDiscId, '05021002')
self.assertEqual(responses[1].confidences[0], 7)
self.assertEqual(responses[1].confidences[1], 7)
# The following two values may increase in the Accurip database over time;
# both are 9 as retrieved on 2025-01-02
self.assertGreaterEqual(responses[1].confidences[0], 9)
self.assertGreaterEqual(responses[1].confidences[1], 9)
self.assertEqual(responses[1].checksums[0], 'dc77f9ab')
self.assertEqual(responses[1].checksums[1], 'dd97d2c3')

Expand Down

0 comments on commit 18de1ba

Please sign in to comment.