Revision 0caece02
b/snf-quotaholder-app/quotaholder_django/test/config.py | ||
---|---|---|
141 | 141 |
def tearDownClass(self): |
142 | 142 |
from signal import SIGTERM |
143 | 143 |
os.kill(-self.server, SIGTERM) |
144 |
os.remove('/tmp/qh_testdb') |
|
145 | 144 |
|
146 | 145 |
|
147 | 146 |
### VARS ### |
b/snf-quotaholder-app/quotaholder_django/test/qh_init | ||
---|---|---|
2 | 2 |
d=`dirname $0` |
3 | 3 |
export SYNNEFO_SETTINGS_DIR=$d/settings |
4 | 4 |
snf-manage syncdb --all --noinput |
5 |
snf-manage flush --noinput |
|
5 | 6 |
snf-manage runserver "$@" 2> $d/server_stderr & |
Also available in: Unified diff