Skip to content

Commit

Permalink
#81 review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vancamti committed Jan 21, 2021
1 parent 4da5ea4 commit 2f66a4b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
import json
import unittest

try:
from unittest.mock import Mock, patch
except ImportError:
from mock import Mock, patch

import httpretty
from pyramid import testing
from pyramid.httpexceptions import HTTPBadRequest
Expand All @@ -24,6 +19,10 @@
except ImportError:
from urllib.parse import urlencode

try:
from unittest.mock import Mock, patch
except ImportError:
from mock import Mock, patch

class ViewTests(unittest.TestCase):
def setUp(self):
Expand Down

0 comments on commit 2f66a4b

Please sign in to comment.