summaryrefslogtreecommitdiff
path: root/tests/modeltests/empty
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2006-06-08 15:15:27 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2006-06-08 15:15:27 +0000
commit4fc6e517061a0c766bd7b00411d15fb1bdc6e856 (patch)
tree3d7db37acfcf585ffaf756b101f1f0326a41f55b /tests/modeltests/empty
parent7e2b888a2d3e745dea551285fac6e88e409fe18d (diff)
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
Diffstat (limited to 'tests/modeltests/empty')
-rw-r--r--tests/modeltests/empty/models.py4
1 files changed, 4 insertions, 0 deletions
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
"""