mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-23 14:41:43 +00:00
do not skip all attic tests, some work without now
This commit is contained in:
parent
6d457aed57
commit
aaf72e3861
1 changed files with 3 additions and 3 deletions
|
@ -16,9 +16,6 @@
|
|||
from ..key import KeyfileKey
|
||||
from ..repository import Repository, MAGIC
|
||||
|
||||
pytestmark = pytest.mark.skipif(attic is None,
|
||||
reason='cannot find an attic install')
|
||||
|
||||
|
||||
def repo_valid(path):
|
||||
"""
|
||||
|
@ -67,6 +64,7 @@ def attic_repo(tmpdir):
|
|||
def inplace(request):
|
||||
return request.param
|
||||
|
||||
@pytest.mark.skipif(attic is None, reason='cannot find an attic install')
|
||||
def test_convert_segments(tmpdir, attic_repo, inplace):
|
||||
"""test segment conversion
|
||||
|
||||
|
@ -126,6 +124,7 @@ def attic_key_file(attic_repo, tmpdir):
|
|||
MockArgs(keys_dir))
|
||||
|
||||
|
||||
@pytest.mark.skipif(attic is None, reason='cannot find an attic install')
|
||||
def test_keys(tmpdir, attic_repo, attic_key_file):
|
||||
"""test key conversion
|
||||
|
||||
|
@ -144,6 +143,7 @@ def test_keys(tmpdir, attic_repo, attic_key_file):
|
|||
assert key_valid(attic_key_file.path)
|
||||
|
||||
|
||||
@pytest.mark.skipif(attic is None, reason='cannot find an attic install')
|
||||
def test_convert_all(tmpdir, attic_repo, attic_key_file, inplace):
|
||||
"""test all conversion steps
|
||||
|
||||
|
|
Loading…
Reference in a new issue