Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
waliki
python-django-waliki
python-django-waliki-django32-compat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-django-waliki-django32-compat.patch of Package python-django-waliki
From 92987eeb7095bb89f40f12253fb3c6efe8a6cb45 Mon Sep 17 00:00:00 2001 From: Oleg Girko <ol@infoserver.lv> Date: Sat, 20 Nov 2021 23:25:26 +0000 Subject: [PATCH] Set SECRET_KEY config parameter for tests. It's required starting from Django 3.2. Signed-off-by: Oleg Girko <ol@infoserver.lv> --- runtests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtests.py b/runtests.py index be41cc3..01636f1 100755 --- a/runtests.py +++ b/runtests.py @@ -1,6 +1,7 @@ import sys import shutil import tempfile +from django.utils.crypto import get_random_string WALIKI_DATA_DIR = tempfile.mkdtemp() @@ -63,6 +64,7 @@ try: SITE_ID=1, NOSE_ARGS=['-s', '--nologcapture', '--nocapture', '--with-id', '--logging-clear-handlers'], + SECRET_KEY=get_random_string(50), WALIKI_DATA_DIR=WALIKI_DATA_DIR, WALIKI_ATTACHMENTS_DIR=WALIKI_DATA_DIR + '/_attachments', -- 2.33.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor