Re: Axiom Testing
Gabriel Jacobo <[email protected]> Fri, 10 Feb 2006 14:56:33 -0300
| Newsgroups | gmane.comp.python.quotient.dev |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your reply! The test is actually very minimal...
from axiom import item, attributes, sequence, store
class TestA(item.Item):
typeName = "TestA"
schemaVersion = 1
fieldA = attributes.text()
class TestB(item.Item):
schemaVersion = 1
typeName = "TestB"
mystore = store.Store()
x1 = TestA(store=mystore, fieldA=u'xxasxasx')
When Python executes the last line the exception is rised except I make
the noted modification to slotmachine.py
Jean-Paul Calderone escribió:
> On Fri, 10 Feb 2006 14:32:50 -0300, Gabriel Jacobo
> <[email protected]> wrote:
>> Hi! I´m testing the axiom database. I just tried to do a simple test
>> with two classes, but I´m running into a little problem...the
>> exception " 'TestA' object did not have attribute '_storeID'" keeps
>> rising up...
>
> Can you post a minimal example which produces this exception?
>
> Jean-Paul
>
> _______________________________________________
> Divmod-dev mailing list
> [email protected]
> http://divmod.org/users/mailman.twistd/listinfo/divmod-dev
>