File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import warnings
88
99from evidence_api .tdx .quote import TdxQuote
10- import httpx
1110import pytest
1211
1312from dstack_sdk import AsyncDstackClient
@@ -236,8 +235,6 @@ def test_tls_key_with_alt_names():
236235def test_unix_socket_file_not_exist ():
237236 """Test that client raises error when Unix socket file doesn't exist."""
238237 # Temporarily remove environment variable to test file check
239- import os
240-
241238 saved_env = os .environ .get ("DSTACK_SIMULATOR_ENDPOINT" )
242239 if "DSTACK_SIMULATOR_ENDPOINT" in os .environ :
243240 del os .environ ["DSTACK_SIMULATOR_ENDPOINT" ]
@@ -256,8 +253,6 @@ def test_unix_socket_file_not_exist():
256253
257254def test_non_unix_socket_endpoints ():
258255 """Test that client doesn't throw error for non-unix socket paths."""
259- import os
260-
261256 saved_env = os .environ .get ("DSTACK_SIMULATOR_ENDPOINT" )
262257 if "DSTACK_SIMULATOR_ENDPOINT" in os .environ :
263258 del os .environ ["DSTACK_SIMULATOR_ENDPOINT" ]
You can’t perform that action at this time.
0 commit comments