コード例 #1
0
 def mock_parse_args(self, args):
     return utils.create_rsync_namespace(
         source=hello_file,
         destination=TMP_DIR,
         hosts='localhost,127.0.0.1',
         continue_on_error=True,
     )
コード例 #2
0
 def mock_parse_args(self, args):
     return utils.create_rsync_namespace(
         source=hello_file,
         destination=TMP_DIR,
         hosts='localhost,127.0.0.1',
         mirror_mode='pull',
     )
コード例 #3
0
ファイル: test_rsync.py プロジェクト: oinume/tomahawk
 def mock_parse_args(self, args):
     return utils.create_rsync_namespace(
         source = hello_file,
         destination = TMP_DIR,
         hosts = 'localhost,127.0.0.1',
         continue_on_error = True,
     )
コード例 #4
0
ファイル: test_rsync.py プロジェクト: oinume/tomahawk
 def mock_parse_args(self, args):
     return utils.create_rsync_namespace(
         source = hello_file,
         destination = TMP_DIR,
         hosts = 'localhost,127.0.0.1',
         mirror_mode = 'pull',
     )
コード例 #5
0
 def mock_parse_args(self, args):
     return utils.create_rsync_namespace(
         source='file_does_not_exist',
         destination=TMP_DIR,
     )
コード例 #6
0
 def mock_parse_args(self, args):
     return utils.create_rsync_namespace(
         source=hello_file,
         destination=hello_file_copied,
     )
コード例 #7
0
ファイル: test_rsync.py プロジェクト: oinume/tomahawk
 def mock_parse_args(self, args):
     return utils.create_rsync_namespace(
         source = 'file_does_not_exist',
         destination = TMP_DIR,
     )
コード例 #8
0
ファイル: test_rsync.py プロジェクト: oinume/tomahawk
 def mock_parse_args(self, args):
     return utils.create_rsync_namespace(
         source = hello_file,
         destination = hello_file_copied,
     )