Generated: Thu 2013-05-02 12:21 SGT
Source file: /Users/martin/Repos/django-calendarium/calendarium/tests/test_app/models.py
Stats: 5 executed, 0 missed, 2 excluded, 16 ignored
"""Models for the ``test_app`` test app."""import factoryfrom django.db import modelsclass DummyModel(models.Model): """ This is a dummy model for testing purposes. :content: Just a dummy field. """ content = models.CharField( max_length=32, )class DummyModelFactory(factory.Factory): """Factory for the ``DummyModel`` model.""" FACTORY_FOR = DummyModel content = factory.Sequence(lambda n: 'content{0}'.format(n))