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 list #4

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.',
        'authors': [
          {
            'id': '{users.user1}',
            'first_name': 'Joyce',
            'last_name': 'Ray'
          },
          {
            'id': '{users.user2}',
            'first_name': 'Amy',
            'last_name': 'Myers'
          }
        ],
    }
}