File: tests-Add-STATIC_URL-to-django-test-settings.patch

package info (click to toggle)
strawberry-graphql-django 0.62.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,968 kB
  • sloc: python: 27,530; sh: 17; makefile: 16
file content (23 lines) | stat: -rw-r--r-- 564 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Tue, 10 Jun 2025 18:35:48 +0200
Subject: tests: Add STATIC_URL to django test settings

The Django app debug-toolbar requires this variable.

Forwared: not-needed
---
 tests/django_settings.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/django_settings.py b/tests/django_settings.py
index 3387bb2..4bc8678 100644
--- a/tests/django_settings.py
+++ b/tests/django_settings.py
@@ -31,6 +31,7 @@ INSTALLED_APPS = [
     "strawberry_django",
 ]
 
+STATIC_URL = "."
 
 ROOT_URLCONF = "tests.urls"