From 4fc6e517061a0c766bd7b00411d15fb1bdc6e856 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Thu, 8 Jun 2006 15:15:27 +0000 Subject: [PATCH] Tests to avoid regressions for ticket #2108. See also r3115. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3116 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/modeltests/empty/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/modeltests/empty/models.py b/tests/modeltests/empty/models.py index 2d0c42983b..3befbd55a5 100644 --- a/tests/modeltests/empty/models.py +++ b/tests/modeltests/empty/models.py @@ -13,5 +13,9 @@ class Empty(models.Model): API_TESTS = """ >>> m = Empty() >>> m.save() +>>> m2 = Empty() +>>> m2.save() +>>> len(Empty.objects.all()) +2 """