try fix for test_esnure_latest_bundle's

This commit is contained in:
foamyguy 2024-04-08 09:10:08 -05:00
parent dc5f2e4eab
commit 6f5ad6e663

View file

@ -932,6 +932,8 @@ def test_ensure_latest_bundle_bad_bundle_data():
"circup.command_utils.json.load",
side_effect=json.decoder.JSONDecodeError("BANG!", "doc", 1),
), mock.patch(
"circup.os.path.isfile", return_value=True
),mock.patch(
"circup.command_utils.json.dump"
), mock.patch(
"circup.command_utils.logger"
@ -999,6 +1001,8 @@ def test_ensure_latest_bundle_no_update():
), mock.patch("circup.command_utils.open"), mock.patch(
"circup.command_utils.get_bundle"
) as mock_gb, mock.patch(
"circup.os.path.isfile", return_value=True
), mock.patch(
"circup.shared.json"
) as mock_json, mock.patch(
"circup.command_utils.logger"