1

I'm trying to use doctests with django-nose. All my doctests are running, except not any doctests within a model (unless it is abstract).

class TestModel1(models.Model):
    """
    >>> print 'pass'
    pass
    """
    pass

class TestModel2(models.Model):
    """
    >>> print 'pass'
    pass
    """
    class Meta:
        abstract = True
    pass

The first doctest does not run and the second does. Why is this?

Conley Owens
  • 8,691
  • 5
  • 30
  • 43

1 Answers1

0

Any chance you're getting bitten by this? http://github.com/jbalogh/django-nose/issues/2 If so, try upgrading django-nose

Pete
  • 2,503
  • 4
  • 21
  • 20