From 51ac3caea6205e5353d11fbee4a95326ac04ea18 Mon Sep 17 00:00:00 2001 From: Daniel Falbel Date: Wed, 3 Apr 2024 17:48:23 -0300 Subject: [PATCH] fixed paths --- .../positron/positron_ipykernel/tests/test_connections.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/positron-python/python_files/positron/positron_ipykernel/tests/test_connections.py b/extensions/positron-python/python_files/positron/positron_ipykernel/tests/test_connections.py index 888e7bf702fa..50d29734f61f 100644 --- a/extensions/positron-python/python_files/positron/positron_ipykernel/tests/test_connections.py +++ b/extensions/positron-python/python_files/positron/positron_ipykernel/tests/test_connections.py @@ -214,9 +214,9 @@ def _delete_variables(self, shell: PositronShell, variables_comm: DummyComm, nam variables_comm.messages.clear() def _view_in_connections_pane(self, variables_comm: DummyComm, path): - paths = [encode_access_key(p) for p in path] - msg = _make_msg("view", {"path": paths}, comm_id="dummy_comm_id") + encoded_paths = [encode_access_key(p) for p in path] + msg = _make_msg("view", {"path": encoded_paths}, comm_id="dummy_comm_id") variables_comm.handle_msg(msg) assert variables_comm.messages == [json_rpc_response({})] variables_comm.messages.clear() - return tuple(path) + return tuple(encoded_paths)