Skip to content

Commit

Permalink
fix: ruff linting issue in test_admin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Jan 7, 2025
1 parent fa75368 commit e4c1f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2156,7 +2156,7 @@ def test_compare_view_has_version_data_in_context_when_version2_in_get_param(sel
url = self.get_admin_url(
self.versionable.version_model_proxy, "compare", versions[0].pk
)
url += "?compare_to=%d" % versions[1].pk
url += f"?compare_to={versions[1].pk}"
user = self.get_staff_user_with_no_permissions()

with self.login_user_context(user):
Expand Down

0 comments on commit e4c1f1f

Please sign in to comment.