mirror of
https://github.com/beetbox/beets.git
synced 2026-01-07 16:34:45 +01:00
Fix mock function restoration in test :(
An argument for using decorators, context managers and stuff so this is impossible to mess up.
This commit is contained in:
parent
798838a0f6
commit
c158bb630c
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ class AutotagStub(object):
|
|||
|
||||
def restore(self):
|
||||
autotag.mb.match_album = self.mb_match_album
|
||||
autotag.mb.match_track = self.mb_match_album
|
||||
autotag.mb.match_track = self.mb_match_track
|
||||
autotag.mb.album_for_id = self.mb_album_for_id
|
||||
autotag.mb.track_for_id = self.mb_track_for_id
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue