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 @@ -112,6 +112,7 @@ def test_create_store_s3(mocker):
112
112
113
113
def test_create_store_hfs (mocker ):
114
114
mock_hfs = mocker .patch ("storefact._hstores.HFilesystemStore" )
115
+ mock_makedirs = mocker .patch ("os.makedirs" )
115
116
create_store (
116
117
"hfs" ,
117
118
{
@@ -121,11 +122,12 @@ def test_create_store_hfs(mocker):
121
122
},
122
123
)
123
124
mock_hfs .assert_called_once_with ('this/is/a/relative/path' )
125
+ mock_makedirs .assert_called_once_with ('this/is/a/relative/path' )
124
126
125
127
126
- @pytest .mark .skip (reason = "some issue here" )
127
128
def test_create_store_fs (mocker ):
128
- mock_fs = mocker .patch ("simplekv.fs.FilesystemStore" )
129
+ mock_fs = mocker .patch ("storefact._store_creation.FilesystemStore" )
130
+ mock_makedirs = mocker .patch ("os.makedirs" )
129
131
create_store (
130
132
"fs" ,
131
133
{
@@ -135,6 +137,7 @@ def test_create_store_fs(mocker):
135
137
}
136
138
)
137
139
mock_fs .assert_called_once_with ('this/is/a/relative/fspath' )
140
+ mock_makedirs .assert_called_once_with ('this/is/a/relative/fspath' )
138
141
139
142
140
143
def test_create_store_mem (mocker ):
You can’t perform that action at this time.
0 commit comments