Skip to content

Commit

Permalink
chore: project views
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutV committed May 23, 2024
1 parent e59cf5b commit 9a5d858
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/api/tests/test_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def test_group_detail_view(self):
content_json = json.loads(response.content.decode("utf-8"))

self.assertEqual(int(content_json["id"]), group.id)
self.assertEqual(content_json["project"], settings.TESTING_BASE_LINK + reverse("project-detail", args=[str(project.id)]))
self.assertEqual(content_json["project"],
settings.TESTING_BASE_LINK + reverse("project-detail", args=[str(project.id)])
)
self.assertEqual(content_json["score"], group.score)

def test_group_project(self):
Expand Down

0 comments on commit 9a5d858

Please sign in to comment.