16 строки
311 B
Python
Executable File
16 строки
311 B
Python
Executable File
#!/usr/bin/env python
|
|
import os
|
|
import sys
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_settings")
|
|
|
|
|
|
def nose_collector():
|
|
import nose
|
|
return nose.collector()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
from django.core.management import execute_from_command_line
|
|
execute_from_command_line(sys.argv)
|