From 35d30f4a75cc5c220c9216c216f9b6648ccc8cdc Mon Sep 17 00:00:00 2001 From: furtest Date: Sat, 28 Jun 2025 10:44:26 +0200 Subject: [PATCH] Removes test code from synchroniser --- src/unisync/synchroniser.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/unisync/synchroniser.py b/src/unisync/synchroniser.py index a7ccaf5..a5e0880 100644 --- a/src/unisync/synchroniser.py +++ b/src/unisync/synchroniser.py @@ -136,20 +136,3 @@ class Synchroniser: ret_code = proc.wait() return ret_code -if __name__ == "__main__": - sync = Synchroniser("/home/furtest/a", "/home/furtest/files/programmation/unisync/a", "furtest", "194.164.198.44", port=8443, args_bool=["auto"]) - print("Creating master connection") - sync.create_ssh_master_connection() - print("Connected") - - sync.sync_files(["salut", "a"]) - sync.sync_links(["salut", "a"]) - - print("Closing master connection") - sync.close_ssh_master_connection() - print("Connection closed") - -# roots: remote_files, remote_links, local -# arguments for unison -# force -