Rename pagination args to pagination_opts

This commit is contained in:
richard-dds
2018-11-12 16:45:55 -05:00
parent 5b0383bde3
commit 4244ecf9b7
4 changed files with 15 additions and 13 deletions

View File

@@ -29,5 +29,5 @@ def test_paginate_audit_log(ccpo):
for _ in range(100):
AuditLog.log_system_event(user, action="create")
events = AuditLog.get_all_events(ccpo, pagination={"per_page": 25, "page": 2})
events = AuditLog.get_all_events(ccpo, pagination_opts={"per_page": 25, "page": 2})
assert len(events) == 25