Hi, *Introduction:*
Django uses an in-memory database for testing <https://docs.djangoproject.com/en/2.0/topics/testing/overview/#the-test-database> when it finds a SQLite database in the settings. However, the ChannelsLiveServerTestcase (of Channels 2.0) cannot be used with an in-memory database <https://github.com/django/channels/issues/961>. It was nice to still be able to use SQLite, because it doesn't have any dependencies and therefore it is the best database to be used for tests which have to work on all kind of systems (as far as I can see). I looked through the Django code to find the part where it is determined whether to use an in-memory database or not but I couldn't find it. *Question:* Could somebody give me a hint how to tell Django to use a SQLite database on filesystem for tests, please? Regards, Daniel -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1c36103e-17d3-41e3-81e2-aa8cc6213a3e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.