diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2013-11-27 19:43:37 +0200 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2013-11-27 19:45:47 +0200 |
| commit | 01e8ac47b37ccf1b4d9b9710ae2d9b6b486c3c7a (patch) | |
| tree | 5fc45ef431c5dec261a80d111c536e083d078407 /tests/custom_managers | |
| parent | f450bc9f44bc1270eae911daa157c155c29d1d9d (diff) | |
PEP-8 cleanup
Refs #21169
Diffstat (limited to 'tests/custom_managers')
| -rw-r--r-- | tests/custom_managers/models.py | 1 | ||||
| -rw-r--r-- | tests/custom_managers/tests.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/custom_managers/models.py b/tests/custom_managers/models.py index 726ece7dab..238124a265 100644 --- a/tests/custom_managers/models.py +++ b/tests/custom_managers/models.py @@ -117,6 +117,7 @@ class FunPerson(models.Model): def __str__(self): return "%s %s" % (self.first_name, self.last_name) + @python_2_unicode_compatible class Book(models.Model): title = models.CharField(max_length=50) diff --git a/tests/custom_managers/tests.py b/tests/custom_managers/tests.py index 440274e0e0..437d75deea 100644 --- a/tests/custom_managers/tests.py +++ b/tests/custom_managers/tests.py @@ -448,7 +448,6 @@ class CustomManagerTests(TestCase): ) self.b1.authors.add(droopy) - # Check that the fun manager ONLY clears fun people. self.b1.authors(manager='fun_people').clear() self.assertQuerysetEqual( |
