mirror of
https://github.com/TheLocehiliosan/yadm
synced 2026-03-02 03:49:29 +00:00
Remove deprecated option cygwin-copy
This commit is contained in:
@@ -4,10 +4,6 @@ import os
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
'cygwin',
|
||||
[pytest.param(True, marks=pytest.mark.deprecated), False],
|
||||
ids=['cygwin', 'no-cygwin'])
|
||||
@pytest.mark.parametrize(
|
||||
'setting, expect_link, pre_existing', [
|
||||
(None, True, None),
|
||||
@@ -26,14 +22,11 @@ import pytest
|
||||
@pytest.mark.usefixtures('ds1_copy')
|
||||
def test_alt_copy(
|
||||
runner, yadm_cmd, paths, tst_sys,
|
||||
setting, expect_link, pre_existing,
|
||||
cygwin):
|
||||
setting, expect_link, pre_existing):
|
||||
"""Test yadm.alt-copy"""
|
||||
|
||||
option = 'yadm.cygwin-copy' if cygwin else 'yadm.alt-copy'
|
||||
|
||||
if setting is not None:
|
||||
os.system(' '.join(yadm_cmd('config', option, str(setting))))
|
||||
os.system(' '.join(yadm_cmd('config', 'yadm.alt-copy', str(setting))))
|
||||
|
||||
expected_content = f'test_alt_copy##os.{tst_sys}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user