--- 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)