Skip to content

Commit

Permalink
Use correct mock
Browse files Browse the repository at this point in the history
Signed-off-by: Lincoln Simba <[email protected]>
  • Loading branch information
lincmba authored and WinnyTroy committed Feb 18, 2019
1 parent ead7757 commit cf95655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onadata/apps/api/tests/viewsets/test_xform_viewset.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import json
import os
import re
from builtins import open
from collections import OrderedDict
from datetime import datetime
from datetime import timedelta
Expand All @@ -17,7 +18,6 @@
from xml.dom import minidom

import jwt
from builtins import open
from django.conf import settings
from django.contrib.contenttypes.models import ContentType
from django.core.cache import cache
Expand Down Expand Up @@ -752,7 +752,7 @@ def test_enketo_url(self):
self.assertEqual(response.data, data)

def test_get_single_submit_url(self):
with HTTMock(enketo_preview_url_mock, enketo_mock_with_form_defaults,
with HTTMock(enketo_preview_url_mock, enketo_url_mock,
enketo_single_submission_mock):
self._publish_xls_form_to_project()
view = XFormViewSet.as_view({
Expand Down

0 comments on commit cf95655

Please sign in to comment.