summaryrefslogtreecommitdiff
path: root/tests/check_framework
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check_framework')
-rw-r--r--tests/check_framework/tests_1_8_compatibility.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check_framework/tests_1_8_compatibility.py b/tests/check_framework/tests_1_8_compatibility.py
index 8f354b6b3a..d8601b1064 100644
--- a/tests/check_framework/tests_1_8_compatibility.py
+++ b/tests/check_framework/tests_1_8_compatibility.py
@@ -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)