Skip to content

Commit

Permalink
Move import to top level.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fiete Gruenter committed Aug 15, 2017
1 parent ee72325 commit 07ce38b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/api/test_responses.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import json
from struct import unpack

from werkzeug.test import Client, EnvironBuilder

from connexion.apps.flask_app import FlaskJSONEncoder


Expand Down Expand Up @@ -219,7 +221,6 @@ def test_post_wrong_content_type(simple_app):
# (https://github.com/pallets/werkzeug/issues/1159)
# so that content-type is added to every request, we remove it here manually for our test
# this test can be removed once the werkzeug issue is addressed
from werkzeug.test import Client, EnvironBuilder
builder = EnvironBuilder(path='/v1.0/post_wrong_content_type', method='POST',
data=json.dumps({"some": "data"}))
try:
Expand Down

0 comments on commit 07ce38b

Please sign in to comment.