test_playlists.py 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. from unittest import skip
  2. from . import BaseAPITestCase
  3. class PlaylistTests(BaseAPITestCase):
  4. def setUp(self):
  5. pass
  6. @skip
  7. def test_list_playlists(self):
  8. # Should be able to fetch the list of playlists.
  9. raise NotImplementedError("This test case needs to be implemented.")
  10. @skip
  11. def test_search_playlists(self):
  12. # Should be able to search for playlists by `name`.
  13. raise NotImplementedError("This test case needs to be implemented.")
  14. @skip
  15. def test_get_playlist(self):
  16. # Should be able to fetch a playlist by its `uuid`.
  17. raise NotImplementedError("This test case needs to be implemented.")
  18. @skip
  19. def test_create_playlist(self):
  20. # Should be able to create a playlist with 0 or more tracks.
  21. raise NotImplementedError("This test case needs to be implemented.")
  22. @skip
  23. def test_update_playlist(self):
  24. # Should be able to change a playlist's `name`, and add, remove,
  25. # or re-order tracks.
  26. raise NotImplementedError("This test case needs to be implemented.")
  27. @skip
  28. def test_delete_playlist(self):
  29. # Should be able to delete a playlist by `uuid`.
  30. raise NotImplementedError("This test case needs to be implemented.")