Add test which ensures that CCPO can view the audit log
This commit is contained in:
parent
5a4cbb56bb
commit
22f02f604f
@ -18,3 +18,7 @@ def developer():
|
|||||||
def test_non_admin_cannot_view_audit_log(developer):
|
def test_non_admin_cannot_view_audit_log(developer):
|
||||||
with pytest.raises(UnauthorizedError):
|
with pytest.raises(UnauthorizedError):
|
||||||
AuditLog.get_all_events(developer)
|
AuditLog.get_all_events(developer)
|
||||||
|
|
||||||
|
|
||||||
|
def test_ccpo_can_iview_audit_log(ccpo):
|
||||||
|
AuditLog.get_all_events(ccpo)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user