Add test which ensures that CCPO can view the audit log

This commit is contained in:
richard-dds 2018-09-24 10:47:50 -04:00
parent 5a4cbb56bb
commit 22f02f604f

View File

@ -18,3 +18,7 @@ def developer():
def test_non_admin_cannot_view_audit_log(developer):
with pytest.raises(UnauthorizedError):
AuditLog.get_all_events(developer)
def test_ccpo_can_iview_audit_log(ccpo):
AuditLog.get_all_events(ccpo)