mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #256] Tests broken? #139
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sr-murthy on GitHub (Feb 17, 2018).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/256
I'm trying to run the tests (
tests/tests.py) but they appear to be broken - the failed ones all report the following exceptionHere is the complete output from running this test suite.
@sr-murthy commented on GitHub (Feb 17, 2018):
At the moment if you try to run
tests/tests.pyfrom its current location it fails because it cannot import thespotifymodule, which is at base of the repository. You have to importos,sys, and then do asys.path.insert(0, os.path.abspath(os.pardir))intests.py.@sr-murthy commented on GitHub (Feb 17, 2018):
OK, so I was just missing the API client credentials. I was able to run and pass all these tests.