summaryrefslogtreecommitdiff
path: root/tests/m2o_recursive
diff options
context:
space:
mode:
authorJason Myers <jason@jasonamyers.com>2013-11-02 23:36:09 -0500
committerJason Myers <jason@jasonamyers.com>2013-11-02 23:50:49 -0500
commit7a61c68c50d3837c50e35c252fd76220f08b5290 (patch)
tree586f16a3f02c2b45ffb3dd2af834c0ef604e099c /tests/m2o_recursive
parent0fdb692c6c94d912f17a3e2ad12413fb072d38ec (diff)
PEP8 cleanup
Signed-off-by: Jason Myers <jason@jasonamyers.com>
Diffstat (limited to 'tests/m2o_recursive')
-rw-r--r--tests/m2o_recursive/models.py1
-rw-r--r--tests/m2o_recursive/tests.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/m2o_recursive/models.py b/tests/m2o_recursive/models.py
index 2775d713dd..b41e0cb0a3 100644
--- a/tests/m2o_recursive/models.py
+++ b/tests/m2o_recursive/models.py
@@ -22,6 +22,7 @@ class Category(models.Model):
def __str__(self):
return self.name
+
@python_2_unicode_compatible
class Person(models.Model):
full_name = models.CharField(max_length=20)
diff --git a/tests/m2o_recursive/tests.py b/tests/m2o_recursive/tests.py
index f5e8938706..b21aef95d3 100644
--- a/tests/m2o_recursive/tests.py
+++ b/tests/m2o_recursive/tests.py
@@ -21,6 +21,7 @@ class ManyToOneRecursiveTests(TestCase):
self.assertQuerysetEqual(self.c.child_set.all(), [])
self.assertEqual(self.c.parent.id, self.r.id)
+
class MultipleManyToOneRecursiveTests(TestCase):
def setUp(self):