From 26445c3fc476546d9879a510edf4a4f2cd43a5de Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 3 Jun 2016 16:43:22 -0700 Subject: [PATCH] test_scripts: fix on windows --- src/wormhole/test/test_scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wormhole/test/test_scripts.py b/src/wormhole/test/test_scripts.py index 63e3a5c..aa1c26c 100644 --- a/src/wormhole/test/test_scripts.py +++ b/src/wormhole/test/test_scripts.py @@ -650,7 +650,7 @@ class ExtractFile(unittest.TestCase): zi.filename = "haha//root" # abspath squashes this, hopefully zipfile # does too zi.external_attr = 5 << 16 - expected = os.path.join(extract_dir, "haha/root") + expected = os.path.join(extract_dir, "haha", "root") with mock.patch.object(cmd_receive.os, "chmod") as chmod: ef(zf, zi, extract_dir) self.assertEqual(zf.extract.mock_calls,