summaryrefslogtreecommitdiff
path: root/tests/check_framework
diff options
context:
space:
mode:
authorAlasdair Nicol <alasdair@thenicols.net>2015-09-12 23:46:55 +0100
committerTim Graham <timograham@gmail.com>2015-09-19 18:35:05 -0400
commit15ce1a735cfe483cafc6c8e4d4b0078b09c3cb38 (patch)
tree4fa5a7680307db4c782e759feeacb06d2e97bbd0 /tests/check_framework
parent95edabb45e016ed269f96acc03d4a2bfcecd6b71 (diff)
Used more specific assertion in check_framework tests.
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)