Skip to content

Commit

Permalink
Fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bstaletic committed Aug 23, 2024
1 parent c7c0692 commit 606c481
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ycmd/tests/cs/subcommands_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from unittest.mock import patch
from unittest import TestCase
import os.path
import requests

from ycmd import handlers, user_options_store
from ycmd.tests.cs import setUpModule, tearDownModule # noqa
Expand Down Expand Up @@ -114,8 +113,12 @@ def Test( app, cmd, arguments ):
contents = ReadFile( filepath ),
filetype = 'cs',
filepath = filepath )
response = app.post_json( '/run_completer_command', request, expect_errors = True ).json
assert_that( response, ErrorMatcher( RuntimeError, 'Server is initializing. Please wait.' ) )
response = app.post_json( '/run_completer_command',
request,
expect_errors = True ).json
assert_that( response,
ErrorMatcher( RuntimeError,
'Server is initializing. Please wait.' ) )

Test( app, 'FixIt' )
Test( app, 'Format' )
Expand Down

0 comments on commit 606c481

Please sign in to comment.