Kill off all can_read access methods

This commit is contained in:
AlanCoding
2019-07-18 11:14:57 -04:00
parent e08e70efb4
commit d302f134ac
3 changed files with 2 additions and 57 deletions

View File

@@ -87,7 +87,7 @@ def test_notification_template_access_admin(role, organization_factory, notifica
assert access.can_change(notification_template, {'organization': present_org.id})
assert access.can_delete(notification_template)
nf = notification_template_factory("test-orphaned")
nf = notification_template_factory("test-orphaned").notification_template
assert not access.can_read(nf)
assert not access.can_change(nf, None)
assert not access.can_delete(nf)