debugging support #74
No reviewers
Labels
No labels
Bug
Enhancement
Feature Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: code/twython#74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
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?
i added some support for debugging issues with twython
i'm not sure how/where the tests are , i would have written some to your harness if i did.
full details below, but...
1- tests the API response to ensure it's valid, throws a TwythonError with details if needed.
2- stashes the info from the last api request -- so you can inspect and try to figure out what happened.
3- added benefit - you have access to the headers that described ratelimiting status
I like this. We shall merge, yes yes.
Kudos to you; there are currently no tests because... well, I find tests quite boring development wise. Not to say I can't do them, but when I initially released the library I decided to get it out first.
...then they just never showed up, primarily due to a lack of time. I figure if people want/need them they'll put them in, it's open source for a reason.
rad. i'm fine with no tests. i like to focus on getting-shit-done for personal projects too.