Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
test(apps/problems): fix problem test with error
Browse files Browse the repository at this point in the history
  • Loading branch information
bitterteriyaki committed Nov 8, 2023
1 parent 4e76ef1 commit 9244895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/problems/tests_problems.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def test_detail_url_resolves_to_detail_view(self) -> None:

resolver = resolve(url)

self.assertEqual(resolver.url_name, DetailView)
self.assertEqual(resolver.view_name, "problems:detail")

def test_detail_url_reverse(self) -> None:
expected_url = "/problems/1/"
Expand Down

0 comments on commit 9244895

Please sign in to comment.