diff options
Diffstat (limited to 'tests/pagination')
| -rw-r--r-- | tests/pagination/tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/pagination/tests.py b/tests/pagination/tests.py index 20e74981cd..ef5108e42b 100644 --- a/tests/pagination/tests.py +++ b/tests/pagination/tests.py @@ -309,7 +309,8 @@ class ModelPaginationTests(TestCase): """ Test pagination with Django model instances """ - def setUp(self): + @classmethod + def setUpTestData(cls): # Prepare a list of objects for pagination. for x in range(1, 10): a = Article(headline='Article %s' % x, pub_date=datetime(2005, 7, 29)) |
