whipper
whipper copied to clipboard
Make tests more robust by mocking AccurateRip responses
The AccurateRip response data for this test changed since it was created, which lead to some distributions creating patches to update it (Arch)
Instead of relying on the actual response, mock the urlopen method and make it return the data we expect. This still ensures whipper's internal functionality works correctly, which is the actual goal of the test