From 005460543b482bb3777fbb1a5e16d16cf5aeeb98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Stenstro=CC=88m?= Date: Sun, 14 Jun 2015 14:42:01 +0200 Subject: [PATCH] Make variable required. --- tests/test_templatetags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_templatetags.py b/tests/test_templatetags.py index fb8a608f..50ae4aa6 100644 --- a/tests/test_templatetags.py +++ b/tests/test_templatetags.py @@ -5,7 +5,7 @@ from django_components import component from .django_test_setup import * # NOQA class SimpleComponent(component.Component): - def context(self, variable=None): + def context(self, variable): return { "variable": variable, }