Skip to content

Commit

Permalink
update monkey patching
Browse files Browse the repository at this point in the history
  • Loading branch information
romilbhardwaj committed Nov 6, 2023
1 parent bc51c5d commit c855670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _get_az_mappings(_):
# the cluster to detect available cluster resources.
monkeypatch.setattr(
'sky.utils.kubernetes_utils.detect_gpu_label_formatter',
lambda *_args, **_kwargs: [kubernetes_utils.SkyPilotLabelFormatter, []])
lambda *_args, **_kwargs: [kubernetes_utils.SkyPilotLabelFormatter, {}])
monkeypatch.setattr('sky.utils.kubernetes_utils.detect_gpu_resource',
lambda *_args, **_kwargs: [True, []])
monkeypatch.setattr('sky.utils.kubernetes_utils.check_instance_fits',
Expand Down

0 comments on commit c855670

Please sign in to comment.