@@ -264,7 +264,7 @@ def test_open_fs(self):
264
264
mem_fs_2 = opener .open_fs (mem_fs )
265
265
self .assertEqual (mem_fs , mem_fs_2 )
266
266
267
- @mock .patch ("platformdirs .{}" .format (UserDataFS .app_dir ), autospec = True , spec_set = True )
267
+ @mock .patch ("appdirs .{}" .format (UserDataFS .app_dir ), autospec = True , spec_set = True )
268
268
def test_open_userdata (self , app_dir ):
269
269
app_dir .return_value = self .tmpdir
270
270
@@ -276,7 +276,7 @@ def test_open_userdata(self, app_dir):
276
276
self .assertEqual (app_fs .app_dirs .appauthor , "willmcgugan" )
277
277
self .assertEqual (app_fs .app_dirs .version , "1.0" )
278
278
279
- @mock .patch ("platformdirs .{}" .format (UserDataFS .app_dir ), autospec = True , spec_set = True )
279
+ @mock .patch ("appdirs .{}" .format (UserDataFS .app_dir ), autospec = True , spec_set = True )
280
280
def test_open_userdata_no_version (self , app_dir ):
281
281
app_dir .return_value = self .tmpdir
282
282
@@ -285,7 +285,7 @@ def test_open_userdata_no_version(self, app_dir):
285
285
self .assertEqual (app_fs .app_dirs .appauthor , "willmcgugan" )
286
286
self .assertEqual (app_fs .app_dirs .version , None )
287
287
288
- @mock .patch ("platformdirs .{}" .format (UserDataFS .app_dir ), autospec = True , spec_set = True )
288
+ @mock .patch ("appdirs .{}" .format (UserDataFS .app_dir ), autospec = True , spec_set = True )
289
289
def test_user_data_opener (self , app_dir ):
290
290
app_dir .return_value = self .tmpdir
291
291
0 commit comments