Running The Test Project

  1. Make sure you have Django 1.2 or greater and oauth2 at 1.5.163 or greater installed
  2. Change directory to la_facebook/test_project
  3. python syncdb
  4. python runserver localhost:8000
  5. Open a browser and point to that URL
  6. Manually do the tests via your browser


By default the project will print debug level logging info both to stdout and to a log file located at /tmp/la_facebook.log.

Test Coverage

The test project supports coverage via django-coverage. To enable it you will need on your python path:


To run coverage at the command-line:

python test_coverage la_facebook