mirror of
https://github.com/django/django.git
synced 2025-10-17 13:58:24 +00:00
Fixed "indentation is not a multiple of four" pep8 issues.
This commit is contained in:
parent
cb98ffe8f4
commit
5649c0af9d
20 changed files with 64 additions and 60 deletions
|
@ -29,12 +29,12 @@ class CustomManagerTests(TestCase):
|
|||
manager.public_method()
|
||||
# Don't copy private methods.
|
||||
with self.assertRaises(AttributeError):
|
||||
manager._private_method()
|
||||
manager._private_method()
|
||||
# Copy methods with `manager=True` even if they are private.
|
||||
manager._optin_private_method()
|
||||
# Don't copy methods with `manager=False` even if they are public.
|
||||
with self.assertRaises(AttributeError):
|
||||
manager.optout_public_method()
|
||||
manager.optout_public_method()
|
||||
|
||||
# Test that the overridden method is called.
|
||||
queryset = manager.filter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue