hooks/test/unittest_hooks.py
changeset 4089 ff92c7d692bf
parent 4072 ead446e70c28
child 4467 0e73d299730a
--- a/hooks/test/unittest_hooks.py	Wed Dec 09 17:10:01 2009 +0100
+++ b/hooks/test/unittest_hooks.py	Wed Dec 09 17:48:04 2009 +0100
@@ -441,7 +441,7 @@
             self.failIf(self.index_exists('Workflow', 'name'))
         finally:
             self.execute('SET X indexed TRUE WHERE X relation_type R, R name "name"')
-            self.failIf(self.schema['name'].rproperty('Workflow', 'String').indexed)
+            self.failIf(self.schema['name'].rdef('Workflow', 'String').indexed)
             self.failIf(self.index_exists('Workflow', 'name'))
             self.commit()
             self.failUnless(self.schema['name'].rdef('Workflow', 'String').indexed)