mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-23 22:51:35 +00:00
skip converter tests if attic isn't installed
This commit is contained in:
parent
c30df4e033
commit
77ed6dec2b
1 changed files with 8 additions and 3 deletions
|
@ -3,9 +3,14 @@
|
|||
import shutil
|
||||
import tempfile
|
||||
|
||||
import attic.repository
|
||||
import attic.key
|
||||
import attic.helpers
|
||||
try:
|
||||
import attic.repository
|
||||
import attic.key
|
||||
import attic.helpers
|
||||
except ImportError:
|
||||
attic = None
|
||||
pytestmark = pytest.mark.skipif(attic is None,
|
||||
reason = 'cannot find an attic install')
|
||||
|
||||
from ..converter import AtticRepositoryConverter, NotImplementedException
|
||||
from ..helpers import get_keys_dir
|
||||
|
|
Loading…
Reference in a new issue