test/unittest_schema.py
changeset 9674 96549de9dd70
parent 9640 26ea1c4387bf
child 9675 8aabfefc8a81
--- a/test/unittest_schema.py	Wed Apr 09 11:25:45 2014 +0200
+++ b/test/unittest_schema.py	Tue Apr 08 17:39:39 2014 +0200
@@ -248,7 +248,7 @@
 
     def test_fulltext_container(self):
         schema = loader.load(config)
-        self.assertTrue('has_text' in schema['CWUser'].subject_relations())
+        self.assertIn('has_text', schema['CWUser'].subject_relations())
         self.assertFalse('has_text' in schema['EmailAddress'].subject_relations())
 
     def test_permission_settings(self):