Skip to content

Commit 0b5ccbe

Browse files
committed
fix local test
1 parent 556b345 commit 0b5ccbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/common_test_fixtures.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ def enable_all_clouds(monkeypatch, request, mock_client_requests):
141141
# Mock all the functions
142142
monkeypatch.setattr('sky.check.get_cached_enabled_clouds_or_refresh',
143143
lambda *_, **__: enabled_clouds)
144-
monkeypatch.setattr('sky.check.check', lambda *_, **__: None)
144+
monkeypatch.setattr('sky.check.check_single_capability',
145+
lambda *_, **__: None)
145146
monkeypatch.setattr(
146147
'sky.clouds.service_catalog.aws_catalog._get_az_mappings',
147148
lambda *_, **__: pd.read_csv('tests/default_aws_az_mappings.csv'))

0 commit comments

Comments
 (0)