From 06765c4f5a07587378e9c9d57433e271805f53c7 Mon Sep 17 00:00:00 2001 From: Stephane Bruckert Date: Wed, 26 Oct 2022 22:56:38 +0100 Subject: [PATCH] Fix flake8 --- tests/integration/test_non_user_endpoints.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/test_non_user_endpoints.py b/tests/integration/test_non_user_endpoints.py index dc17ab3..7ac5120 100644 --- a/tests/integration/test_non_user_endpoints.py +++ b/tests/integration/test_non_user_endpoints.py @@ -63,13 +63,13 @@ class AuthTestSpotipy(unittest.TestCase): def test_audio_analysis(self): result = self.spotify.audio_analysis(self.four_tracks[0]) - assert('beats' in result) + assert ('beats' in result) def test_audio_features(self): results = self.spotify.audio_features(self.four_tracks) self.assertTrue(len(results) == len(self.four_tracks)) for track in results: - assert('speechiness' in track) + assert ('speechiness' in track) def test_audio_features_with_bad_track(self): bad_tracks = ['spotify:track:bad'] @@ -78,7 +78,7 @@ class AuthTestSpotipy(unittest.TestCase): self.assertTrue(len(results) == len(input)) for track in results[:-1]: if track is not None: - assert('speechiness' in track) + assert ('speechiness' in track) self.assertTrue(results[-1] is None) def test_recommendations(self):