projects
/
osm
/
common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make common methods threading safe. pytest enhancements
[osm/common.git]
/
osm_common
/
tests
/
test_fslocal.py
diff --git
a/osm_common/tests/test_fslocal.py
b/osm_common/tests/test_fslocal.py
index
3a2bbb4
..
86b0491
100644
(file)
--- a/
osm_common/tests/test_fslocal.py
+++ b/
osm_common/tests/test_fslocal.py
@@
-22,9
+22,9
@@
def invalid_path():
return '/#tweeter/'
-@pytest.fixture
-def fs_local():
- fs = FsLocal()
+@pytest.fixture
(scope="function", params=[True, False])
+def fs_local(
request
):
+ fs = FsLocal(
lock=request.param
)
fs.fs_connect({'path': valid_path()})
return fs