david / django-oauth (http://oauth.net/)

Support of OAuth in Django. Note that http://code.welldev.org/django-oauth-plus will use python-oauth2 if you're interested in it.

Clone this repository (size: 114.7 KB): HTTPS / SSH
$ hg clone http://code.welldev.org/django-oauth

Changed (Δ22 bytes):

raw changeset »

oauth_provider/tests.py (2 lines added, 2 lines removed)

Up to file-list oauth_provider/tests.py:

@@ -194,7 +194,7 @@ We need to create the Protected Resource
194
194
    >>> CONSUMER_KEY = 'dpf43f3p2l4k3l03'
195
195
    >>> CONSUMER_SECRET = 'kd94hf93k423kf44'
196
196
    >>> consumer = Consumer(key=CONSUMER_KEY, secret=CONSUMER_SECRET, 
197
    ...                     name='printer.example.com')
197
    ...                     name='printer.example.com', user=jane)
198
198
    >>> consumer.save()
199
199
200
200
@@ -546,7 +546,7 @@ We need to create the Protected Resource
546
546
    >>> CONSUMER_KEY = 'dpf43f3p2l4k3l03'
547
547
    >>> CONSUMER_SECRET = 'kd94hf93k423kf44'
548
548
    >>> consumer = Consumer(key=CONSUMER_KEY, secret=CONSUMER_SECRET, 
549
    ...                     name='printer.example.com')
549
    ...                     name='printer.example.com', user=jane)
550
550
    >>> consumer.save()
551
551
552
552