Skip to content

Commit

Permalink
Fix debugging print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Jan 25, 2024
1 parent 225d980 commit 8920bc1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions primed/collaborative_analysis/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,9 @@ def test_creates_workspace(self):
"workspacedata-0-analyst_group": self.analyst_group.pk,
},
)
print(response["form"].errors)
print(response["workspace_data_formset"].errors)
print(response.content)
print(response.context_data["form"].errors)
print(response.context_data["workspace_data_formset"].errors)
self.assertEqual(response.status_code, 302)
# The workspace is created.
new_workspace = Workspace.objects.latest("pk")
Expand Down

0 comments on commit 8920bc1

Please sign in to comment.