summaryrefslogtreecommitdiff
path: root/tests/foreign_object/test_empty_join.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/foreign_object/test_empty_join.py')
-rw-r--r--tests/foreign_object/test_empty_join.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/foreign_object/test_empty_join.py b/tests/foreign_object/test_empty_join.py
index 1fc6c450d7..83300fd25b 100644
--- a/tests/foreign_object/test_empty_join.py
+++ b/tests/foreign_object/test_empty_join.py
@@ -4,7 +4,8 @@ from .models import SlugPage
class RestrictedConditionsTests(TestCase):
- def setUp(self):
+ @classmethod
+ def setUpTestData(cls):
slugs = [
'a',
'a/a',