From 2cda2b5b3a559ef2061f6bacc5ea0ef919cc53ef Mon Sep 17 00:00:00 2001 From: Rahul Ahuja Date: Mon, 21 Jan 2019 22:53:23 -0800 Subject: [PATCH] Remove hardcoded ordering of filters in tests --- test/test_spotify.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_spotify.py b/test/test_spotify.py index 25a58911d..d6bec780d 100644 --- a/test/test_spotify.py +++ b/test/test_spotify.py @@ -122,10 +122,10 @@ class SpotifyPluginTest(_common.TestCase, TestHelper): self.spotify._output_results(results) params = _params(responses.calls[0].request.url) - self.assertEqual( - params['q'], - [u'Happy artist:Pharrell Williams album:Despicable Me 2'], - ) + query = params['q'] + self.assertIn(u'Happy', query) + self.assertIn(u'artist:Pharrell Williams', query) + self.assertIn(u'album:Despicable Me 2', query) self.assertEqual(params['type'], [u'track'])