tools tests: the verify_sha256 stand-in takes the new own= argument (34 setup tests errored on it)
This commit is contained in:
1 parent
970c75c8f6
commit
d408fa2ff1
1 file changed
+1
-1
@@ -193,7 +193,7 @@ class Base(unittest.TestCase):
|
||||
mock.patch.object(setup, "get_prebuilt", lambda *a, **k: eng),
|
||||
mock.patch.object(setup, "download", fake_download),
|
||||
mock.patch.object(setup, "check_shards", lambda shards: None),
|
||||
mock.patch.object(setup, "verify_sha256", lambda s, size, sha: self.verified.append((s.name, size, sha))),
|
||||
mock.patch.object(setup, "verify_sha256", lambda s, size, sha, own=False: self.verified.append((s.name, size, sha))),
|
||||
mock.patch.object(setup, "run", fake_run),
|
||||
mock.patch.object(setup, "refresh_draft_vocab", lambda *a, **k: None),
|
||||
mock.patch.object(setup, "write_run_script", lambda tag, cfg, port, *_: self.t / f"start-{tag}.bat"),
|
||||
|
||||
Reference in new issue
Block a user