File: tests-Adjust-STATIC_URL-for-django-test-settings.patch

package info (click to toggle)
strawberry-graphql-django 0.67.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,988 kB
  • sloc: python: 27,682; sh: 20; makefile: 20
file content (25 lines) | stat: -rw-r--r-- 649 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
24
25
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Tue, 10 Jun 2025 18:35:48 +0200
Subject: tests: Adjust STATIC_URL for django test settings

The Django app debug-toolbar requires this variable. wenn need to point
to the local folder.

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

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