Kaydet (Commit) 15ce1a73 authored tarafından Alasdair Nicol's avatar Alasdair Nicol Kaydeden (comit) Tim Graham

Used more specific assertion in check_framework tests.

üst 95edabb4
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment