File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -502,9 +502,10 @@ def test_delete_file_from_central(self):
502502 with open (fp_test , 'w' ) as f :
503503 f .write ('This is a testfile content\n ' )
504504 self .clean_up_files .append (fp_test )
505- self .qclient .push_file_to_central (fp_test )
506505
507506 # sanity check that test file has been deposited correctly
507+ # no push required, as in this test local and remote QIITA_BASE_DIR
508+ # is identical
508509 fp_obs = self .qclient .fetch_file_from_central (fp_test )
509510 self .assertTrue (exists (fp_obs ))
510511
@@ -525,12 +526,6 @@ def test_delete_file_from_central(self):
525526 # qiita main filepath, returned by delete_file_from_central
526527 self .assertTrue (exists (fp_deleted ))
527528
528- # clean up test file directly after tests have passed
529- if exists (fp_test ):
530- remove (fp_test )
531- if exists (fp_obs ):
532- remove (fp_obs )
533-
534529
535530if __name__ == '__main__' :
536531 main ()
You can’t perform that action at this time.
0 commit comments