Add filetype check for uploads

This commit is contained in:
sigma67 2020-04-13 17:07:49 +02:00
commit 79f3784eb1
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
2 changed files with 10 additions and 6 deletions

View file

@ -34,7 +34,7 @@ class TestYTMusic(unittest.TestCase):
self.assertEqual(len(results), 50)
def test_upload_song(self):
response = youtube_auth.upload_song('../12 - Turning Point.mp3')
response = youtube_auth.upload_song('../Madeon.mp3')
self.assertEqual(response, 'STATUS_SUCCEEDED')
def test_delete_uploaded_song(self):