Skip to content

Commit 24bb40e

Browse files
committed
tests: django tests use in-memory sqlite database
1 parent e811754 commit 24bb40e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/clients/test_django/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
DATABASES = {
44
"default": {
55
"ENGINE": "django.db.backends.sqlite3",
6-
"NAME": "example.sqlite",
6+
"NAME": ":memory:",
77
}
88
}
99

tests/django/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
DATABASES = {
44
"default": {
55
"ENGINE": "django.db.backends.sqlite3",
6-
"NAME": "example.sqlite",
6+
"NAME": ":memory:",
77
}
88
}
99

0 commit comments

Comments
 (0)