Skip to content

Commit

Permalink
fixup!: format
Browse files Browse the repository at this point in the history
  • Loading branch information
rgraber committed Dec 3, 2024
1 parent 493da22 commit 6de52b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion kobo/apps/audit_log/tests/api/v2/test_api_audit_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ def test_results_can_be_searched_by_subtype(self):
date_created=yesterday,
)
response = self.client.get(
f'{self.url}?q=metadata__log_subtype:{PROJECT_HISTORY_LOG_PERMISSION_SUBTYPE}'
f'{self.url}?q=metadata__log_subtype:'
f'{PROJECT_HISTORY_LOG_PERMISSION_SUBTYPE}'
)
self.assertEqual(response.data['count'], 1)
self.assertEqual(
Expand Down
2 changes: 1 addition & 1 deletion kobo/apps/audit_log/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ class ProjectHistoryLogViewSet(
b. metadata__settings__description__new
This endpoint can be paginated with 'offset' and 'limit' parameters, eg
> curl -X GET https://[kpi-url]/assets/ap732ywW99RV4cM9qPNUzn/history/?offset=100&limit=50
> curl -X GET https://[kpi-url]/assets/ap732ywWxc/history/?offset=100&limit=50
"""

serializer_class = ProjectHistoryLogSerializer
Expand Down

0 comments on commit 6de52b6

Please sign in to comment.