示例#1
0
def test_target_ssh_inherit():
    skip_if_on_windows()  # create_sibling incompatible with win servers
    # TODO: was waiting for resolution on
    #   https://github.com/datalad/datalad/issues/1274
    # which is now closed but this one is failing ATM, thus leaving as TODO
    # yield _test_target_ssh_inherit, None      # no wanted etc
    yield _test_target_ssh_inherit, 'manual'  # manual -- no load should be annex copied
    yield _test_target_ssh_inherit, 'backup'  # backup -- all data files
示例#2
0
def test_target_ssh_inherit():
    skip_if_on_windows()  # create_sibling incompatible with win servers
    # TODO: was waiting for resolution on
    #   https://github.com/datalad/datalad/issues/1274
    # which is now closed but this one is failing ATM, thus leaving as TODO
    # yield _test_target_ssh_inherit, None      # no wanted etc
    # Takes too long so one will do with UI and another one without
    yield skip_ssh(_test_target_ssh_inherit), 'manual', have_webui(
    ), True  # manual -- no load should be annex copied
    yield _test_target_ssh_inherit, 'backup', False, False  # backup -- all data files
示例#3
0
def test_replace_and_relative_sshpath():
    skip_if_on_windows()
    yield skip_ssh(check_replace_and_relative_sshpath), True
    yield check_replace_and_relative_sshpath, False
示例#4
0
def test_target_ssh_since():
    skip_if_on_windows()
    yield skip_ssh(check_target_ssh_since), True
    yield check_target_ssh_since, False
示例#5
0
def test_target_ssh_recursive():
    skip_if_on_windows()
    yield skip_ssh(check_target_ssh_recursive), True
    yield check_target_ssh_recursive, False
示例#6
0
def test_failon_no_permissions():
    skip_if_on_windows()
    yield skip_ssh(check_failon_no_permissions), True
    yield check_failon_no_permissions, False