mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Used more specific assertion in check_framework tests.
This commit is contained in:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user