From 7e16c1f6ccfeb1dc7318f6e23996d7c1381fc1b8 Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Thu, 21 Mar 2019 11:50:46 +0100 Subject: [PATCH] unlock not needed here --- test/sync_test.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/sync_test.py b/test/sync_test.py index 84b6eb0..f18d36d 100644 --- a/test/sync_test.py +++ b/test/sync_test.py @@ -86,10 +86,7 @@ if __name__ == "__main__": options.clean = True if options.clean: - from minimail import unlock - rmrf("TestInbox") - unlock(pathlib.Path("TestInbox")) rmrf("Phone") rmrf("Laptop") @@ -97,10 +94,7 @@ if __name__ == "__main__": rmrf("Backup") elif options.backup: - from minimail import unlock - rmrf("Backup") - unlock(pathlib.Path("TestInbox")) try: os.mkdir("Backup") @@ -112,10 +106,7 @@ if __name__ == "__main__": shutil.copytree("TestInbox", "Backup/TestInbox", symlinks=True, copy_function=shutil.copy2) elif options.restore: - from minimail import unlock - rmrf("TestInbox") - unlock(pathlib.Path("TestInbox")) rmrf("Phone") rmrf("Laptop")