diff options
Diffstat (limited to 'tests/generic_inline_admin/tests.py')
| -rw-r--r-- | tests/generic_inline_admin/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generic_inline_admin/tests.py b/tests/generic_inline_admin/tests.py index 0ce6eea1e4..fc17b9de74 100644 --- a/tests/generic_inline_admin/tests.py +++ b/tests/generic_inline_admin/tests.py @@ -284,7 +284,7 @@ class MockRequest: class MockSuperUser: - def has_perm(self, perm): + def has_perm(self, perm, obj=None): return True |
