﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34823	_assert_template_used fails with anonymous templates	Arian	nobody	"When template_names includes at least one None type the string join will fail.
This occurs when a rendered template does not define a name.

```
Traceback (most recent call last):
  File ""/home/.../admin-frontend/admin_frontend/admin_cash/tests/test_views.py"", line 19, in test_get_context_data
    with self.assertTemplateUsed('admin_cash/bill_validator_logs.html'):
  File ""/home/../3.10/lib/python3.10/site-packages/django/test/testcases.py"", line 146, in __exit__
    self.test()
  File ""/home/../3.10/lib/python3.10/site-packages/django/test/testcases.py"", line 131, in test
    self.test_case._assert_template_used(
  File ""/home/../3.10/lib/python3.10/site-packages/django/test/testcases.py"", line 828, in _assert_template_used
    % (template_name, "", "".join(template_names)),
TypeError: sequence item 0: expected str instance, NoneType found
```"	Bug	new	Testing framework	4.2	Normal				Unreviewed	0	0	0	0	0	0
