mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Used more specific assertion in check_framework tests.
This commit is contained in:
committed by
Tim Graham
parent
95edabb45e
commit
15ce1a735c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user