mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
remove any_ from has_permissions
we branch on any_ to either say "require ALL these permissions" or "require ANY of these permissions". But we only ever call the decorator with one permission, or with any_=True, so it's unnecessary
This commit is contained in:
@@ -70,8 +70,7 @@ def test_user_has_permissions_or(
|
||||
client,
|
||||
user,
|
||||
['send_messages', 'manage_service'],
|
||||
True,
|
||||
kwargs={'any_': True})
|
||||
True)
|
||||
|
||||
|
||||
def test_user_has_permissions_multiple(
|
||||
|
||||
Reference in New Issue
Block a user