mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed "indentation is not a multiple of four" pep8 issues.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user