Skip to content

Commit 606c481

Browse files
committed
Fix flake8 errors
1 parent c7c0692 commit 606c481

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ycmd/tests/cs/subcommands_test.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
from unittest.mock import patch
2626
from unittest import TestCase
2727
import os.path
28-
import requests
2928

3029
from ycmd import handlers, user_options_store
3130
from ycmd.tests.cs import setUpModule, tearDownModule # noqa
@@ -114,8 +113,12 @@ def Test( app, cmd, arguments ):
114113
contents = ReadFile( filepath ),
115114
filetype = 'cs',
116115
filepath = filepath )
117-
response = app.post_json( '/run_completer_command', request, expect_errors = True ).json
118-
assert_that( response, ErrorMatcher( RuntimeError, 'Server is initializing. Please wait.' ) )
116+
response = app.post_json( '/run_completer_command',
117+
request,
118+
expect_errors = True ).json
119+
assert_that( response,
120+
ErrorMatcher( RuntimeError,
121+
'Server is initializing. Please wait.' ) )
119122

120123
Test( app, 'FixIt' )
121124
Test( app, 'Format' )

0 commit comments

Comments
 (0)