Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't keep state in OAuth1Service #12

Closed
wants to merge 2 commits into from

Commits on Jun 1, 2012

  1. try to fallback to unittest2 if using an older python version

    Python 2.6 doesn't have unittest.TestCase.assertIsNotNone, among
    others.  If we don't have it, try to import unittest2 as unittest.
    joeshaw committed Jun 1, 2012
    Configuration menu
    Copy the full SHA
    6851350 View commit details
    Browse the repository at this point in the history
  2. always construct a new session when doing a request

    We can't keep state, because this service object is likely shared
    across many different uses (and people) -- if an access token is cached,
    it might be reused by another user who is trying to get a request
    token.
    joeshaw committed Jun 1, 2012
    Configuration menu
    Copy the full SHA
    eae023d View commit details
    Browse the repository at this point in the history