diff options
Diffstat (limited to 'tests/modeltests/ordering/models.py')
-rw-r--r-- | tests/modeltests/ordering/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modeltests/ordering/models.py b/tests/modeltests/ordering/models.py index b22568c900..110ae3d7fc 100644 --- a/tests/modeltests/ordering/models.py +++ b/tests/modeltests/ordering/models.py @@ -24,7 +24,7 @@ class Article(models.Model): def __str__(self): return self.headline -API_TESTS = """ +__test__ = {'API_TESTS':""" # Create a couple of Articles. >>> from datetime import datetime >>> a1 = Article(headline='Article 1', pub_date=datetime(2005, 7, 26)) @@ -64,4 +64,4 @@ API_TESTS = """ # don't know what order the output will be in. >>> Article.objects.order_by('?') [...] -""" +"""} |