curds: Also clear queued tasks when resetting

Otherwise we could end up sending notifications that don't make any
sense after their corresponding test ends.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
Anna Schumaker 2019-04-06 21:17:43 -04:00
parent 50a86f0edd
commit c2d876b545
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ PlaylistManager = playlist.manager.PlaylistManager()
def reset():
notify.queued.clear()
tags.tag_map.clear()
PlaylistManager.reset()
playlist.library.reset()