Skip to content

Commit 79ccf19

Browse files
committed
test unit test
1 parent 1e68060 commit 79ccf19

File tree

1 file changed

+6
-40
lines changed

1 file changed

+6
-40
lines changed

src/xpk/commands/managed_ml_diagnostics_test.py

Lines changed: 6 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -50,49 +50,15 @@ def mocks(mocker) -> _Mocks:
5050
commands_print_mock=commands_print_mock,
5151
commands_tester=CommandsTester(
5252
mocker,
53-
run_command_with_updates_path=(
54-
'xpk.commands.managed_ml_diagnostics.run_command_with_updates'
55-
),
56-
run_command_for_value_path=(
57-
'xpk.commands.managed_ml_diagnostics.run_command_for_value'
58-
),
53+
# run_command_with_updates_path=(
54+
# 'xpk.commands.managed_ml_diagnostics.run_command_with_updates'
55+
# ),
56+
# run_command_for_value_path=(
57+
# 'xpk.commands.managed_ml_diagnostics.run_command_for_value'
58+
# ),
5959
),
6060
)
6161

62-
63-
# def construct_args(**kwargs: Any) -> Namespace:
64-
# args_dict = dict(
65-
# project='project',
66-
# zone='us-central1-a',
67-
# reservation='',
68-
# default_pool_cpu_machine_type='test-machine-type',
69-
# cluster='test-cluster',
70-
# default_pool_cpu_num_nodes='100',
71-
# sub_slicing=False,
72-
# gke_version='',
73-
# private=False,
74-
# authorized_networks=None,
75-
# enable_pathways=False,
76-
# enable_ray_cluster=False,
77-
# enable_workload_identity=False,
78-
# enable_gcsfuse_csi_driver=False,
79-
# enable_gcpfilestore_csi_driver=False,
80-
# enable_parallelstore_csi_driver=False,
81-
# enable_pd_csi_driver=False,
82-
# enable_lustre_csi_driver=False,
83-
# custom_cluster_arguments='',
84-
# num_slices=1,
85-
# num_nodes=1,
86-
# flex=False,
87-
# memory_limit='100Gi',
88-
# cpu_limit=100,
89-
# cluster_cpu_machine_type='',
90-
# managed_mldiagnostics=False,
91-
# )
92-
# args_dict.update(kwargs)
93-
# return Namespace(**args_dict)
94-
95-
9662
def test_install_mldiagnostics_prerequisites_commands_executed(
9763
mocks: _Mocks,
9864
mocker,

0 commit comments

Comments
 (0)