diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-09-20 01:55:53 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-09-20 01:55:53 +0000 |
| commit | 94c320d8a982ce30f6dd4e7556f2696229b761c7 (patch) | |
| tree | 165ff89b8b262118430ea2f7c1d26cc5af864c09 /tests/regressiontests/utils/tests.py | |
| parent | 28a4aa6f49b11881d43a585f118a3d0537ba9084 (diff) | |
queryset-refactor: Merged to [6381]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/utils/tests.py')
| -rw-r--r-- | tests/regressiontests/utils/tests.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/regressiontests/utils/tests.py b/tests/regressiontests/utils/tests.py index 258aea697e..fe0b226adc 100644 --- a/tests/regressiontests/utils/tests.py +++ b/tests/regressiontests/utils/tests.py @@ -6,6 +6,8 @@ from unittest import TestCase from django.utils import html +from timesince import timesince_tests + class TestUtilsHtml(TestCase): def check_output(self, function, value, output=None): @@ -113,3 +115,11 @@ class TestUtilsHtml(TestCase): ) for value, output in items: self.check_output(f, value, output) + +__test__ = { + 'timesince_tests': timesince_tests, +} + +if __name__ == "__main__": + import doctest + doctest.testmod() |
