File: 0003-Define-kwarg_name-in-pipeline_settings-class.patch

package info (click to toggle)
django-pipeline 4.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 904 kB
  • sloc: python: 3,170; makefile: 120; javascript: 59
file content (18 lines) | stat: -rw-r--r-- 482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Thomas Goirand <zigo@debian.org>
Date: Fri, 5 Aug 2016 11:30:38 +0000
Subject: Define kwarg_name in pipeline_settings class

---
 tests/utils.py | 1 +
 1 file changed, 1 insertion(+)

--- a/tests/utils.py
+++ b/tests/utils.py
@@ -10,6 +10,7 @@
 
 
 class pipeline_settings(override_settings):
+    kwarg_name = None
     def __init__(self, **kwargs):
         if django.VERSION[:2] >= (1, 10):
             # Django 1.10's override_settings inherits from TestContextDecorator