From 22f02f604fc239d531d36e72338d39965d26232c Mon Sep 17 00:00:00 2001 From: richard-dds Date: Mon, 24 Sep 2018 10:47:50 -0400 Subject: [PATCH] Add test which ensures that CCPO can view the audit log --- tests/domain/test_audit_log.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/domain/test_audit_log.py b/tests/domain/test_audit_log.py index 606e0fd7..1a2d95f7 100644 --- a/tests/domain/test_audit_log.py +++ b/tests/domain/test_audit_log.py @@ -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)