diff options
Diffstat (limited to 'webapp/django/contrib/comments/tests.py')
-rw-r--r-- | webapp/django/contrib/comments/tests.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/webapp/django/contrib/comments/tests.py b/webapp/django/contrib/comments/tests.py new file mode 100644 index 0000000000..a8275debf6 --- /dev/null +++ b/webapp/django/contrib/comments/tests.py @@ -0,0 +1,13 @@ +# coding: utf-8 + +r""" +>>> from django.contrib.comments.models import Comment +>>> from django.contrib.auth.models import User +>>> u = User.objects.create_user('commenttestuser', 'commenttest@example.com', 'testpw') +>>> c = Comment(user=u, comment=u'\xe2') +>>> c +<Comment: commenttestuser: â...> +>>> print c +commenttestuser: â... +""" + |