diff --git a/tests/everest/test_detached.py b/tests/everest/test_detached.py index 2fa1d659387..d15da2896f9 100644 --- a/tests/everest/test_detached.py +++ b/tests/everest/test_detached.py @@ -58,13 +58,13 @@ async def test_https_requests(copy_math_func_test_data_to_tmp): assert ServerStatus.running == server_status["status"] url, cert, auth = ServerConfig.get_server_context(everest_config.output_dir) - result = requests.get(url, verify=cert, auth=auth, proxies=PROXY) + result = requests.get(url, verify=cert, auth=auth, proxies=PROXY) # noqa: ASYNC210 assert result.status_code == 200 # Request has succeeded # Test http request fail url = url.replace("https", "http") with pytest.raises(Exception): # noqa B017 - response = requests.get(url, verify=cert, auth=auth, proxies=PROXY) + response = requests.get(url, verify=cert, auth=auth, proxies=PROXY) # noqa: ASYNC210 response.raise_for_status() # Test request with wrong password fails @@ -72,7 +72,7 @@ async def test_https_requests(copy_math_func_test_data_to_tmp): usr = "admin" password = "wrong_password" with pytest.raises(Exception): # noqa B017 - result = requests.get(url, verify=cert, auth=(usr, password), proxies=PROXY) + result = requests.get(url, verify=cert, auth=(usr, password), proxies=PROXY) # noqa: ASYNC210 result.raise_for_status() # Test stopping server