Open thibaudcolas opened 7 years ago
If you need a Django model, then yes you need a db. And if you don't care about the database to stick around, you can use an in-memory sqlite db for the tests.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
}
Well that is perfect. Thank you Loïc!
test-watch
command. The one indraftjs_exporter
is based on nodemon. Perhaps there is a more sanctified way to do this with Django tests.