-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconftest.py
35 lines (32 loc) · 1012 Bytes
/
conftest.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""Fixture setup"""
__all__ = [
'cfgman',
'bareannexrepo',
'baregitrepo',
'annexrepo',
'gitrepo',
'modified_dataset',
'skip_when_symlinks_not_supported',
'symlinks_supported',
'verify_pristine_gitconfig_global',
]
from datalad_core.tests.fixtures import (
# function-scope temporary Git repo with an initialized annex
annexrepo,
# function-scope temporary, bare Git repo with an initialized annex
bareannexrepo,
# function-scope temporary, bare Git repo
baregitrepo,
# function-scope config manager
cfgman,
# function-scope temporary Git repo
gitrepo,
# session-scope repository with complex unsafed modifications
modified_dataset,
# function-scope auto-skip when `symlinks_supported` is False
skip_when_symlinks_not_supported,
# session-scope flag if symlinks are supported in test directories
symlinks_supported,
# verify no test leave contaminated config behind
verify_pristine_gitconfig_global,
)