Skip to content

Commit 2e65ef6

Browse files
author
balogh.adam@icloud.com
committed
rm test
1 parent d2d6bf8 commit 2e65ef6

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

tests/tee_connection_test.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -183,19 +183,6 @@ def make_client(*args, **kwargs):
183183
assert conn.get().http_client is not old_client
184184
assert len(clients_created) == 2
185185

186-
async def test_reconnect_closes_old_client(self):
187-
mock_reg = _mock_registry_with_tee()
188-
conn = _make_registry_connection(registry=mock_reg)
189-
old_client = conn.get().http_client
190-
old_client.aclose = AsyncMock()
191-
192-
with patch(
193-
"src.opengradient.client.tee_connection.x402HttpxClient",
194-
side_effect=FakeHTTPClient,
195-
):
196-
await conn.reconnect()
197-
198-
old_client.aclose.assert_awaited_once()
199186

200187
async def test_reconnect_swallows_close_failure(self):
201188
mock_reg = _mock_registry_with_tee()

0 commit comments

Comments
 (0)