rvanlaar / djangorecipe

A django recipe for buildout
67 stars 44 forks source link

Set `sys.argv` to keep the `'test' in sys.argv` convention working. #75

Closed mjpieters closed 10 years ago

mjpieters commented 11 years ago

Some settings.py configurations test for the 'test' command line argument to switch settings for tests; by setting sys.argv directly the bin/test command cooperates with those.

This patch is against the django1.5 branch.

reinout commented 10 years ago

I've merged it on master, I'll make a release soon.

(Looking through the list of pull requests now; sorry for taking a long time to clear out the list!)