How to stop testserver from within a test case?

2014-11-18 Thread Arun Marathe
We have Django 1.6. For a somewhat obscure reason, I need to stop the testserver from within a test case. Any ideas? I would like a programmatic solution if possible. Finding a process and killing it (ps -ef., then grep, then kill) is bit of a hack, and may end up killing unintended processes

some suggested code change in Django 1.6.7

2014-09-26 Thread Arun Marathe
This is not a feature request per se, but it is not exactly a bug report either. We are recently upgrading from Django 1.5 to Django 1.6.7. One other relevant package version of interest is psycopg2 which is at 2.5.4. After upgrade, many test cases were failing with the classic "Inter