Skip to content

Commit a4fcb9c

Browse files
Kateryna Burdamvantellingen
authored andcommitted
Removed not needed references
1 parent 52550ab commit a4fcb9c

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

tests/test_tornado_transport.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,15 @@
44
from tornado.httpclient import HTTPResponse, HTTPRequest
55
from tornado.testing import gen_test, AsyncTestCase
66
from tornado.concurrent import Future
7-
from requests import Session
8-
from requests.structures import CaseInsensitiveDict
97

10-
from tornado.httputil import HTTPHeaders
11-
12-
from mock import patch, ANY
13-
from zeep import tornado
8+
from mock import patch
9+
from zeep.tornado import TornadoAsyncTransport
1410

1511

1612
class TornadoAsyncTransportTest(AsyncTestCase):
1713
@pytest.mark.requests
1814
def test_no_cache(self):
19-
transport = tornado.TornadoAsyncTransport()
15+
transport = TornadoAsyncTransport()
2016
assert transport.cache is None
2117

2218
@pytest.mark.requests
@@ -29,7 +25,7 @@ def test_load(self, mock_httpclient_fetch):
2925
response._body = 'x'
3026
mock_httpclient_fetch.return_value = response
3127

32-
transport = tornado.TornadoAsyncTransport(cache=cache)
28+
transport = TornadoAsyncTransport(cache=cache)
3329

3430
result = transport.load('http://tests.python-zeep.org/test.xml')
3531

@@ -48,7 +44,7 @@ def test_post(self, mock_httpclient_fetch):
4844
http_fetch_future.set_result(response)
4945
mock_httpclient_fetch.return_value = http_fetch_future
5046

51-
transport = tornado.TornadoAsyncTransport(cache=cache)
47+
transport = TornadoAsyncTransport(cache=cache)
5248

5349
envelope = etree.Element('Envelope')
5450

0 commit comments

Comments
 (0)