hmarr/mongoengine — Issue #312: Circular References Take 2
Author: rozza
Created: 2011-10-10 11:30:12+00:00
State: open

@jpfarias still having issues with #294

Add tests for:

Using lambda for default:

```
a = EmbeddedDocumentField(A, default: lambda A())
```

Making a cyclic tree like with more than 2 objects is a better test
like:

```
a -> b -> c -> a
```

Another more complex test would be like:

```
a -> [b, c, d]
b -> [a, c, d]
c -> [a, b, d]
d -> [a, b, c]
```