hmarr/mongoengine — pull request #396 by wpjunior (2011-12-19 13:36:55+00:00)
Title: Mixin inheritance

fails in test case:

```python
class BaseMixIn(object):
count = IntField()
data = StringField()

class DoubleMixIn(BaseMixIn):
comment = StringField()

class TestDoc(Document, DoubleMixIn):
age = IntField()

TestDoc.drop_collection()
t = TestDoc(count=12, data="test",
comment="great!", age=19)

t.save()

t = TestDoc.objects.first()

self.assertEquals(t.age, 19)
self.assertEquals(t.comment, "great!")
self.assertEquals(t.data, "test")
self.assertEquals(t.count, 12)