Skip to content

Commit b19e54d

Browse files
committed
WIP: more windoes shenanigans
Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent a8d2e81 commit b19e54d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_updater_top_level_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ def test_load_metadata_from_cache(self, wrapped_open: MagicMock) -> None:
712712
root_dir = os.path.join(self.metadata_dir, "root_history")
713713
wrapped_open.assert_has_calls(
714714
[
715-
call(os.path.join(self.metadata_dir, ".lock"), "x+b"),
715+
call(os.path.join(self.metadata_dir, ".lock"), "a+"),
716716
call(os.path.join(root_dir, "2.root.json"), "rb"),
717717
call(os.path.join(self.metadata_dir, "timestamp.json"), "rb"),
718718
call(os.path.join(self.metadata_dir, "snapshot.json"), "rb"),

0 commit comments

Comments
 (0)