Skip to content

Commit

Permalink
Fix KeyError in test_list_tech_groups
Browse files Browse the repository at this point in the history
  • Loading branch information
joeriddles committed Apr 6, 2024
1 parent 2f04657 commit 2bf4d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_list_tech_groups(client: Client):

# Assert
assert response.status_code == 200
assert response.context["groups"].get().pk == tech_group.pk
assert response.context["queryset"].get().pk == tech_group.pk


@pytest.mark.django_db
Expand Down

0 comments on commit 2bf4d93

Please sign in to comment.