Add run_tests.py to setup Django for testing. #91

Merged
merged 1 commit into from Jan 16, 2013

Projects

None yet

2 participants

@mythmon
Mozilla member

This will set up the Django environment so the Django-specific tests can
run. If Django is not present, the setup will be skipped and the tests
will be run normally. The testsuite will skip any Django-specific tests
in this case. This simplifies running the full test suite.

Note that without Django, an exception is raised on one test, but this happened before too.

@mythmon mythmon Add run_tests.py to setup Django for testing.
This will set up the Django environment so the Django-specific tests can
run. If Django is not present, the setup will be skipped and the tests
will be run normally. The testsuite will skip any Django-specific tests
in this case. This simplifies running the full test suite.
cddc7f6
@willkg willkg merged commit 197221b into mozilla:master Jan 16, 2013
@willkg
Mozilla member

Thank you! This is awesome! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment