Commit 7464dc84 by Oleg Marshev

Fix docstring.

parent 310973ec
...@@ -115,7 +115,7 @@ class AnnotationViewTests(APITestCase): ...@@ -115,7 +115,7 @@ class AnnotationViewTests(APITestCase):
def test_create_should_not_update(self): def test_create_should_not_update(self):
""" """
Ccreate should always create a new annotation. Create should always create a new annotation.
""" """
payload = {'name': 'foo'} payload = {'name': 'foo'}
response = self.client.post(reverse('api:v1:annotations'), payload, format='json', **self.headers) response = self.client.post(reverse('api:v1:annotations'), payload, format='json', **self.headers)
...@@ -308,7 +308,7 @@ class AnnotationViewTests(APITestCase): ...@@ -308,7 +308,7 @@ class AnnotationViewTests(APITestCase):
def test_read_all_no_annotations(self): def test_read_all_no_annotations(self):
""" """
Tests list all annotations endpoint when no annotions are present in elasticsearch. Tests list all annotations endpoint when no annotations are present in elasticsearch.
""" """
url = reverse('api:v1:annotations') url = reverse('api:v1:annotations')
response = self.client.get(url, **self.headers) response = self.client.get(url, **self.headers)
......
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