Skip to content
Snippets Groups Projects
Verified Commit 702fa463 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

test: remove left-over print in tests

parent 21209413
No related branches found
No related tags found
No related merge requests found
Pipeline #3418 passed
...@@ -69,7 +69,6 @@ class NoteViewTestCase(tests.BaseMixin, APITransactionTestCase): ...@@ -69,7 +69,6 @@ class NoteViewTestCase(tests.BaseMixin, APITransactionTestCase):
self._create_random_note_content(timeslot_id=timeslot.id), self._create_random_note_content(timeslot_id=timeslot.id),
format="json", format="json",
) )
print(res.content)
self.assertEqual(res.status_code, 201) self.assertEqual(res.status_code, 201)
def test_notes_can_be_created_through_nested_routes(self): def test_notes_can_be_created_through_nested_routes(self):
...@@ -79,9 +78,7 @@ class NoteViewTestCase(tests.BaseMixin, APITransactionTestCase): ...@@ -79,9 +78,7 @@ class NoteViewTestCase(tests.BaseMixin, APITransactionTestCase):
ts1 = self._create_timeslot(schedule=self.schedule_musikrotation) ts1 = self._create_timeslot(schedule=self.schedule_musikrotation)
url = self._url("shows", self.show_musikrotation.id, "notes") url = self._url("shows", self.show_musikrotation.id, "notes")
note = self._create_random_note_content(title="meh", timeslot_id=ts1.id) note = self._create_random_note_content(title="meh", timeslot_id=ts1.id)
print(note)
res = client.post(url, note, format="json") res = client.post(url, note, format="json")
print(res.content)
self.assertEqual(res.status_code, 201) self.assertEqual(res.status_code, 201)
# /shows/{pk}/timeslots/{pk}/note/ # /shows/{pk}/timeslots/{pk}/note/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment