Skip to content

Commit 875c3fb

Browse files
peterstone2017YunchuWang
authored andcommitted
fix flakey8
1 parent 3972294 commit 875c3fb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/endtoend/test_third_party_http_functions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,16 +150,16 @@ def test_raise_exception_should_return_not_found(self):
150150

151151

152152
class TestAsgiHttpFunctions(
153-
ThirdPartyHttpFunctionsTestBase.TestThirdPartyHttpFunctions):
153+
ThirdPartyHttpFunctionsTestBase.TestThirdPartyHttpFunctions):
154154
@classmethod
155155
def get_script_dir(cls):
156156
return E2E_TESTS_ROOT / 'third_party_http_functions' / 'stein' / \
157-
'asgi_function'
157+
'asgi_function'
158158

159159

160160
class TestWsgiHttpFunctions(
161-
ThirdPartyHttpFunctionsTestBase.TestThirdPartyHttpFunctions):
161+
ThirdPartyHttpFunctionsTestBase.TestThirdPartyHttpFunctions):
162162
@classmethod
163163
def get_script_dir(cls):
164164
return E2E_TESTS_ROOT / 'third_party_http_functions' / 'stein' / \
165-
'wsgi_function'
165+
'wsgi_function'

tests/unittests/test_third_party_http_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class TestAsgiHttpFunctions(
190190
@classmethod
191191
def get_script_dir(cls):
192192
return UNIT_TESTS_ROOT / 'third_party_http_functions' / 'stein' / \
193-
'asgi_function'
193+
'asgi_function'
194194

195195
def test_hijack_current_event_loop(self):
196196
r = self.webhost.request('GET', 'hijack_current_event_loop',
@@ -220,4 +220,4 @@ class TestWsgiHttpFunctions(
220220
@classmethod
221221
def get_script_dir(cls):
222222
return UNIT_TESTS_ROOT / 'third_party_http_functions' / 'stein' / \
223-
'wsgi_function'
223+
'wsgi_function'

0 commit comments

Comments
 (0)