mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Used more specific assertion in check_framework tests.
This commit is contained in:
parent
95edabb45e
commit
15ce1a735c
1 changed files with 2 additions and 2 deletions
|
@ -25,5 +25,5 @@ class CheckDuplicateTemplateSettingsTest(SimpleTestCase):
|
|||
def test_multiple_duplicate_settings(self):
|
||||
result = check_duplicate_template_settings(None)
|
||||
self.assertEqual(len(result), 1)
|
||||
self.assertTrue('TEMPLATE_DIRS' in result[0].msg)
|
||||
self.assertTrue('TEMPLATE_DEBUG' in result[0].msg)
|
||||
self.assertIn('TEMPLATE_DIRS', result[0].msg)
|
||||
self.assertIn('TEMPLATE_DEBUG', result[0].msg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue