Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 394 Bytes
#!/usr/bin/env python
from django.conf import settings
from nose.core import collector, run
# Trick Django into thinking that we've configured a project, so importing
# anything that tries to access attributes of `django.conf.settings` will just
# return the default values, instead of crashing out.
if not settings.configured:
settings.configure()
if __name__ == '__main__':
run()
Jump to Line
Something went wrong with that request. Please try again.