coderfly / fixtures-mongoengine

Fixtures for MongoEngine
https://pypi.python.org/pypi/fixtures_mongoengine
MIT License
6 stars 3 forks source link

Fixture could not fill depended fields in embedded document #3

Closed coderfly closed 7 years ago

coderfly commented 7 years ago
fixture_data_embedded = {
    'post1': {
        'title': 'Sherlock Gets A Musical Parody',
        'text': 'Sherlock fans still have a way to go before Season 4 of the BBC drama finally arrives.',
        'author': {
            'id': '{users.user1}',
            'first_name': 'Joyce',
            'last_name': 'Ray'
        },
    }
}