cms.test_utils.project.placeholderapp.models: 33 total statements, 0.0% covered

Generated: Wed 2013-03-13 10:33 CET

Source file: /media/Envs/Envs/filer-gallery/lib/python2.7/site-packages/cms/test_utils/project/placeholderapp/models.py

Stats: 0 executed, 31 missed, 2 excluded, 5 ignored

  1. from django.db import models
  2. from cms.models.fields import PlaceholderField
  3. class Example1(models.Model):
  4. char_1 = models.CharField(u'char_1', max_length=255)
  5. char_2 = models.CharField(u'char_2', max_length=255)
  6. char_3 = models.CharField(u'char_3', max_length=255)
  7. char_4 = models.CharField(u'char_4', max_length=255)
  8. placeholder = PlaceholderField('placeholder')
  9. class Example2(models.Model):
  10. char_1 = models.CharField(u'char_1', max_length=255)
  11. char_2 = models.CharField(u'char_2', max_length=255)
  12. char_3 = models.CharField(u'char_3', max_length=255)
  13. char_4 = models.CharField(u'char_4', max_length=255)
  14. placeholder = PlaceholderField('placeholder')
  15. class Example3(models.Model):
  16. char_1 = models.CharField(u'char_1', max_length=255)
  17. char_2 = models.CharField(u'char_2', max_length=255)
  18. char_3 = models.CharField(u'char_3', max_length=255)
  19. char_4 = models.CharField(u'char_4', max_length=255)
  20. placeholder = PlaceholderField('placeholder')
  21. class Example4(models.Model):
  22. char_1 = models.CharField(u'char_1', max_length=255)
  23. char_2 = models.CharField(u'char_2', max_length=255)
  24. char_3 = models.CharField(u'char_3', max_length=255)
  25. char_4 = models.CharField(u'char_4', max_length=255)
  26. placeholder = PlaceholderField('placeholder')
  27. class Example5(models.Model):
  28. char_1 = models.CharField(u'char_1', max_length=255)
  29. char_2 = models.CharField(u'char_2', max_length=255)
  30. char_3 = models.CharField(u'char_3', max_length=255)
  31. char_4 = models.CharField(u'char_4', max_length=255)
  32. placeholder_1 = PlaceholderField('placeholder_1', related_name='p1')
  33. placeholder_2 = PlaceholderField('placeholder_2', related_name='p2')