mediapop / django-friendface

Getting Facebook to work for Django.
2 stars 0 forks source link

Add a testmode as the facebook crawler. #86

Open kitsunde opened 11 years ago

kitsunde commented 11 years ago

The facebook crawler behaves like it's authenticated with the app. It's possible it behaves like a test user. We should be able to hit a view like the crawler in tests.

Something like:

with facebook_crawler():
    self.client.get(..)

or

self.facebook_client.get(..)