Commit 0d7e9012 by Oleg Marshev

Fix test.

parent d9cfbc65
# Python artifacts
*.pyc
# Coverage reports
# Tests / Coverage reports
.coverage
.tox
......@@ -142,7 +142,7 @@ class AnnotationViewTests(APITestCase):
"""
Ensure save was without refresh.
"""
url = reverse('api:v1:annotations') + '?refresh=true'
url = reverse('api:v1:annotations') + '?refresh=false'
response = self.client.post(url, {}, format='json', **self.headers)
ann_mock.return_value.save.assert_called_once_with(refresh=False)
......
import requests
import json
from django.http import HttpResponse
from django.conf import settings
......
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