test/unittest_schema.py
changeset 9675 8aabfefc8a81
parent 9674 96549de9dd70
child 9711 59616edc20d7
--- a/test/unittest_schema.py	Tue Apr 08 17:39:39 2014 +0200
+++ b/test/unittest_schema.py	Tue Apr 08 18:00:14 2014 +0200
@@ -249,7 +249,7 @@
     def test_fulltext_container(self):
         schema = loader.load(config)
         self.assertIn('has_text', schema['CWUser'].subject_relations())
-        self.assertFalse('has_text' in schema['EmailAddress'].subject_relations())
+        self.assertNotIn('has_text', schema['EmailAddress'].subject_relations())
 
     def test_permission_settings(self):
         schema = loader.load(config)