From 606c481b94ef2c93d0362d88b8f826fd9b0d742e Mon Sep 17 00:00:00 2001 From: Boris Staletic Date: Wed, 21 Aug 2024 19:45:55 +0200 Subject: [PATCH] Fix flake8 errors --- ycmd/tests/cs/subcommands_test.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ycmd/tests/cs/subcommands_test.py b/ycmd/tests/cs/subcommands_test.py index 7835b34905..4a4fba37d1 100644 --- a/ycmd/tests/cs/subcommands_test.py +++ b/ycmd/tests/cs/subcommands_test.py @@ -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 @@ -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' )