File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ def test_create_store_s3(mocker):
138
138
139
139
def test_create_store_hfs (mocker ):
140
140
mock_hfs = mocker .patch ("storefact._hstores.HFilesystemStore" )
141
+ mock_makedirs = mocker .patch ("os.makedirs" )
141
142
create_store (
142
143
"hfs" ,
143
144
{
@@ -147,11 +148,12 @@ def test_create_store_hfs(mocker):
147
148
},
148
149
)
149
150
mock_hfs .assert_called_once_with ('this/is/a/relative/path' )
151
+ mock_makedirs .assert_called_once_with ('this/is/a/relative/path' )
150
152
151
153
152
- @pytest .mark .skip (reason = "some issue here" )
153
154
def test_create_store_fs (mocker ):
154
- mock_fs = mocker .patch ("simplekv.fs.FilesystemStore" )
155
+ mock_fs = mocker .patch ("storefact._store_creation.FilesystemStore" )
156
+ mock_makedirs = mocker .patch ("os.makedirs" )
155
157
create_store (
156
158
"fs" ,
157
159
{
@@ -161,6 +163,7 @@ def test_create_store_fs(mocker):
161
163
}
162
164
)
163
165
mock_fs .assert_called_once_with ('this/is/a/relative/fspath' )
166
+ mock_makedirs .assert_called_once_with ('this/is/a/relative/fspath' )
164
167
165
168
166
169
def test_create_store_mem (mocker ):
You can’t perform that action at this time.
0 commit comments