@@ -177,7 +177,7 @@ def test_scandir(self):
177177 ]
178178 with mock .patch .object (self .fs , "scandir" , wraps = self .fs .scandir ) as scandir :
179179 self .assertEqual (sorted (self .cached .scandir ("/" ), key = key ), expected )
180- scandir .assert_has_calls ([mock .call ('/' , namespaces = None , page = None )])
180+ scandir .assert_has_calls ([mock .call ("/" , namespaces = None , page = None )])
181181 with mock .patch .object (self .fs , "scandir" , wraps = self .fs .scandir ) as scandir :
182182 self .assertEqual (sorted (self .cached .scandir ("/" ), key = key ), expected )
183183 scandir .assert_not_called ()
@@ -187,7 +187,7 @@ def test_isdir(self):
187187 self .assertTrue (self .cached .isdir ("foo" ))
188188 self .assertFalse (self .cached .isdir ("egg" )) # is file
189189 self .assertFalse (self .cached .isdir ("spam" )) # doesn't exist
190- scandir .assert_has_calls ([mock .call ('/' , namespaces = None , page = None )])
190+ scandir .assert_has_calls ([mock .call ("/" , namespaces = None , page = None )])
191191 with mock .patch .object (self .fs , "scandir" , wraps = self .fs .scandir ) as scandir :
192192 self .assertTrue (self .cached .isdir ("foo" ))
193193 self .assertFalse (self .cached .isdir ("egg" ))
@@ -199,7 +199,7 @@ def test_isfile(self):
199199 self .assertTrue (self .cached .isfile ("egg" ))
200200 self .assertFalse (self .cached .isfile ("foo" )) # is dir
201201 self .assertFalse (self .cached .isfile ("spam" )) # doesn't exist
202- scandir .assert_has_calls ([mock .call ('/' , namespaces = None , page = None )])
202+ scandir .assert_has_calls ([mock .call ("/" , namespaces = None , page = None )])
203203 with mock .patch .object (self .fs , "scandir" , wraps = self .fs .scandir ) as scandir :
204204 self .assertTrue (self .cached .isfile ("egg" ))
205205 self .assertFalse (self .cached .isfile ("foo" ))
@@ -211,7 +211,7 @@ def test_getinfo(self):
211211 self .assertEqual (self .cached .getinfo ("foo" ), self .fs .getinfo ("foo" ))
212212 self .assertEqual (self .cached .getinfo ("/" ), self .fs .getinfo ("/" ))
213213 self .assertNotFound (self .cached .getinfo , "spam" )
214- scandir .assert_has_calls ([mock .call ('/' , namespaces = None , page = None )])
214+ scandir .assert_has_calls ([mock .call ("/" , namespaces = None , page = None )])
215215 with mock .patch .object (self .fs , "scandir" , wraps = self .fs .scandir ) as scandir :
216216 self .assertEqual (self .cached .getinfo ("foo" ), self .fs .getinfo ("foo" ))
217217 self .assertEqual (self .cached .getinfo ("/" ), self .fs .getinfo ("/" ))
0 commit comments