From 24bb40ec5bedf13b602be1eb5f3ffa1da037c1bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Mon, 28 Aug 2023 09:41:24 +0200 Subject: [PATCH] tests: django tests use in-memory sqlite database --- tests/clients/test_django/settings.py | 2 +- tests/django/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/clients/test_django/settings.py b/tests/clients/test_django/settings.py index 781ea49a..96d551d1 100644 --- a/tests/clients/test_django/settings.py +++ b/tests/clients/test_django/settings.py @@ -3,7 +3,7 @@ DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", - "NAME": "example.sqlite", + "NAME": ":memory:", } } diff --git a/tests/django/settings.py b/tests/django/settings.py index be038b29..f878df41 100644 --- a/tests/django/settings.py +++ b/tests/django/settings.py @@ -3,7 +3,7 @@ DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", - "NAME": "example.sqlite", + "NAME": ":memory:", } }