entities/test/unittest_base.py
changeset 3455 a0a252643227
parent 3451 6b46d73823f5
parent 3450 265331a0920c
child 3890 d7a270f50f54
--- a/entities/test/unittest_base.py	Wed Sep 23 19:42:44 2009 +0200
+++ b/entities/test/unittest_base.py	Wed Sep 23 19:43:00 2009 +0200
@@ -131,7 +131,7 @@
         self.vreg._loadedmods[__name__] = {}
         for etype in ('Company', 'Division', 'SubDivision'):
             class Foo(AnyEntity):
-                id = etype
+                __regid__ = etype
             self.vreg.register_appobject_class(Foo)
             eclass = self.select_eclass('SubDivision')
             self.failUnless(eclass.__autogenerated__)