Commits

David Larlet  committed 8fe02f0

Link the test user to the consumer in tests, fix #2. Thanks Matthieu Tourne.

  • Participants
  • Parent commits 4ec55f4

Comments (0)

Files changed (1)

File oauth_provider/tests.py

     >>> CONSUMER_KEY = 'dpf43f3p2l4k3l03'
     >>> CONSUMER_SECRET = 'kd94hf93k423kf44'
     >>> consumer = Consumer(key=CONSUMER_KEY, secret=CONSUMER_SECRET, 
-    ...                     name='printer.example.com')
+    ...                     name='printer.example.com', user=jane)
     >>> consumer.save()
 
 
     >>> CONSUMER_KEY = 'dpf43f3p2l4k3l03'
     >>> CONSUMER_SECRET = 'kd94hf93k423kf44'
     >>> consumer = Consumer(key=CONSUMER_KEY, secret=CONSUMER_SECRET, 
-    ...                     name='printer.example.com')
+    ...                     name='printer.example.com', user=jane)
     >>> consumer.save()