Source: django-sekizai Version: 0.10.0-1 Severity: serious Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/django-sekizai.html ... debian/rules override_dh_auto_test make[1]: Entering directory '/build/1st/django-sekizai-0.10.0' pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions pyversions: missing debian/pyversions file, fall back to supported versions py3versions: no X-Python3-Version in control file, using supported versions set -e; \ for python in python2.7 python3.5; do \ PYTHONPATH="." $python runtests.py; \ done System check identified some issues: WARNINGS: ?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DIRS, TEMPLATE_CONTEXT_PROCESSORS, TEMPLATE_DEBUG. System check identified 1 issue (0 silenced). ..............EEEEEE..EE..EE.EEE.EEEE ====================================================================== ERROR: test_addtoblock_processor_namespace (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 419, in test_addtoblock_processor_namespace self._test('processors/addtoblock_namespace.html', bits) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_addtoblock_processor_null (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 415, in test_addtoblock_processor_null self._test('processors/addtoblock_null.html', bits) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_basic_dual_block (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 249, in test_basic_dual_block self._test('basic.html', bits) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_complex_template_inheritance (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 293, in test_complex_template_inheritance self._test("inherit/extend.html", bits) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_easy_inheritance (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 371, in test_easy_inheritance self.assertEqual('content', self._render("easy_inherit.html").strip()) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_eat_content_before_render_block (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 263, in test_eat_content_before_render_block self._test("eat.html", bits) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_invalid_basetemplate (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 354, in test_invalid_basetemplate self._render, 'errors/failbase.html' File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises callableObj(*args, **kwargs) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_invalid_basetemplate_two (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 360, in test_invalid_basetemplate_two self._render, 'errors/failbase2.html' File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises callableObj(*args, **kwargs) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_named_endaddtoblock (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 256, in test_named_endaddtoblock self._test('named_end.html', bits) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_namespace_isolation (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 320, in test_namespace_isolation self._test('namespaces.html', bits) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_post_processor_namespace (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 394, in test_post_processor_namespace self._test('processors/namespace.html', bits) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_post_processor_null (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 390, in test_post_processor_null self._test('processors/null.html', bits) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_sekizai_context_required (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 272, in test_sekizai_context_required self._render, 'basic.html', {}, template.Context File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises callableObj(*args, **kwargs) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than Context. ====================================================================== ERROR: test_unique (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 401, in test_unique self._test('unique.html', bits) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_validate_context (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 386, in test_validate_context self._test('basic.html', bits, ctxclass=template.Context) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than Context. ====================================================================== ERROR: test_variable_namespaces (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 327, in test_variable_namespaces self._test('variables.html', bits, {'blockname': 'one'}) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ====================================================================== ERROR: test_with_data (sekizai.tests.SekizaiTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 368, in test_with_data self._test('with_data.html', bits) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 224, in _test bits, rendered = self._get_bits(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 212, in _get_bits rendered = self._render(tpl, ctx, ctxclass) File "/build/1st/django-sekizai-0.10.0/sekizai/tests.py", line 208, in _render return render_to_string(tpl, ctxclass(ctx)) File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 68, in render_to_string return template.render(context, request) File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 64, in render context = make_context(context, request, autoescape=self.backend.engine.autoescape) File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 287, in make_context raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__) TypeError: context must be a dict rather than SekizaiContext. ---------------------------------------------------------------------- Ran 37 tests in 0.187s FAILED (errors=17) Creating test database for alias 'default'... Destroying test database for alias 'default'... debian/rules:17: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 17