Skip to content

Commit be7ac6a

Browse files
committed
Remove leftovers
1 parent 4f3d6dc commit be7ac6a

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

tests/conftest.py

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -307,35 +307,6 @@ def local_admin_client(kubeconfig_export_path): # ---> local_admin_client vs
307307
return get_client(config_file=kubeconfig_export_path)
308308

309309

310-
# TODO destination cluster client
311-
#
312-
# client1 = get_client(config_file="/tmp/rhos-psi.cnv-qe.rhood.us/stg-jp419/auth/kubeconfig")
313-
# 2025-06-05T04:47:46.586200 ocp_resources.resource INFO Trying to get client via new_client_from_config
314-
#
315-
# In [5]: client2 = get_client(config_file="/tmp/rhos-psi.cnv-qe.rhood.us/stg-jp419-2/auth/kubeconfig")
316-
#
317-
# In [6]: from ocp_resources.node import Node
318-
# ...:
319-
#
320-
# In [7]: list(Node.get(dyn_client=client1))
321-
# Out[7]:
322-
# [<ocp_resources.node.Node at 0x7f0189f2f740>,
323-
# <ocp_resources.node.Node at 0x7f0189f2f890>,
324-
# <ocp_resources.node.Node at 0x7f0189f2f8c0>,
325-
# <ocp_resources.node.Node at 0x7f0189f2f8f0>,
326-
# <ocp_resources.node.Node at 0x7f0189f2f920>,
327-
# <ocp_resources.node.Node at 0x7f0189f2f950>]
328-
#
329-
# In [8]: list(Node.get(dyn_client=client1))[0].name
330-
# Out[8]: 'stg-jp419-l6fkz-master-0'
331-
#
332-
# In [9]: list(Node.get(dyn_client=client2))[0].name
333-
# Out[9]: 'stg-jp419-2-vrfgj-master-0'
334-
#
335-
# In [10]: list(Node.get(dyn_client=client1))[0].name
336-
# Out[10]: 'stg-jp419-l6fkz-master-0'
337-
338-
339310
@pytest.fixture(scope="session")
340311
def unprivileged_secret(local_admin_client, skip_unprivileged_client):
341312
if skip_unprivileged_client:

0 commit comments

Comments
 (0)