File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
qiita_pet/handlers/cloud_handlers/tests Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -319,15 +319,9 @@ def test_post(self):
319319 # step 4: ensure file does not exist anymore
320320 self .assertFalse (exists (fp_file ))
321321
322- # check that only directory managed by qiita DB can be deleted
323- obs = self .get_authed (self .endpoint + self .base_data_dir + '/BIOM' )
324- self .assertEqual (obs .status_code , 403 )
325- self .assertIn ("which is not managed by Qiita as a directory" ,
326- obs .reason )
327-
328322 # check if a directory can be deleted
329323 # step 1: create directory
330- fp_dir = join (self .base_data_dir , 'job/2_test_folder ' )
324+ fp_dir = join (self .base_data_dir , 'deletemeDir ' )
331325 makedirs (fp_dir )
332326 self ._clean_up_files .append (fp_dir )
333327 # step 2: ensure file exists
You can’t perform that action at this time.
0 commit comments