summaryrefslogtreecommitdiff
path: root/tests/modeltests/empty/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modeltests/empty/models.py')
-rw-r--r--tests/modeltests/empty/models.py16
1 files changed, 1 insertions, 15 deletions
diff --git a/tests/modeltests/empty/models.py b/tests/modeltests/empty/models.py
index d57087134e..a6cdb0aa22 100644
--- a/tests/modeltests/empty/models.py
+++ b/tests/modeltests/empty/models.py
@@ -7,20 +7,6 @@ no fields.
from django.db import models
+
class Empty(models.Model):
pass
-
-__test__ = {'API_TESTS':"""
->>> m = Empty()
->>> m.id
->>> m.save()
->>> m2 = Empty()
->>> m2.save()
->>> len(Empty.objects.all())
-2
->>> m.id is not None
-True
->>> existing = Empty(m.id)
->>> existing.save()
-
-"""}