Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit fafeab1

Browse files
committed
Fixup linting errors in test/test_abstraction.py.
1 parent 5b41e3b commit fafeab1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/test_abstraction.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
from hyper.common.connection import HTTPConnection
55
from hyper.common.exceptions import TLSUpgrade, HTTPUpgrade
66

7+
78
class TestHTTPConnection(object):
89
def test_h1_kwargs(self):
910
c = HTTPConnection(
1011
'test', 443, secure=False, window_manager=True, enable_push=True,
11-
ssl_context=False, proxy_host=False, proxy_port=False, other_kwarg=True
12+
ssl_context=False, proxy_host=False, proxy_port=False,
13+
other_kwarg=True
1214
)
1315

1416
assert c._h1_kwargs == {
@@ -22,7 +24,8 @@ def test_h1_kwargs(self):
2224
def test_h2_kwargs(self):
2325
c = HTTPConnection(
2426
'test', 443, secure=False, window_manager=True, enable_push=True,
25-
ssl_context=True, proxy_host=False, proxy_port=False, other_kwarg=True
27+
ssl_context=True, proxy_host=False, proxy_port=False,
28+
other_kwarg=True
2629
)
2730

2831
assert c._h2_kwargs == {
@@ -115,5 +118,5 @@ def request(self, *args, **kwargs):
115118
return 'h2'
116119

117120
def get_response(self, *args, **kwargs):
118-
if not self.secure:
121+
if not self.secure:
119122
return 'h2c'

0 commit comments

Comments
 (0)