Commit 34af5ec2 by Oleg Marshev

Remove prints.

parent 2f19b7ef
...@@ -236,7 +236,6 @@ class AnnotationViewTests(BaseAnnotationViewTests): ...@@ -236,7 +236,6 @@ class AnnotationViewTests(BaseAnnotationViewTests):
payload.update({'id': data['id'], 'text': 'Bar'}) payload.update({'id': data['id'], 'text': 'Bar'})
payload.update(self.headers) payload.update(self.headers)
url = reverse('api:v1:annotations_detail', kwargs={'annotation_id': data['id']}) url = reverse('api:v1:annotations_detail', kwargs={'annotation_id': data['id']})
print payload
response = self.client.put(url, payload, format='json') response = self.client.put(url, payload, format='json')
get_es().indices.refresh() get_es().indices.refresh()
self.assertEqual(response.status_code, status.HTTP_200_OK) self.assertEqual(response.status_code, status.HTTP_200_OK)
...@@ -406,7 +405,6 @@ class AnnotationViewTests(BaseAnnotationViewTests): ...@@ -406,7 +405,6 @@ class AnnotationViewTests(BaseAnnotationViewTests):
url = reverse('api:v1:annotations') url = reverse('api:v1:annotations')
response = self.client.get(url, self.headers) response = self.client.get(url, self.headers)
print response
self.assertEqual(response.status_code, status.HTTP_200_OK) self.assertEqual(response.status_code, status.HTTP_200_OK)
self.assertEqual(len(response.data), 5, "five annotations should be returned in response") self.assertEqual(len(response.data), 5, "five annotations should be returned in response")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment