commit/galaxy-central: inithello: Uncommented cleanup method in functional_tests.py.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/7250bc892ede/ changeset: 7250bc892ede user: inithello date: 2013-02-01 17:43:40 summary: Uncommented cleanup method in functional_tests.py. affected #: 1 file diff -r cd6d105e5a5ba60e317ca7e194d63e2025272edb -r 7250bc892ede728688c010493a4019ec27d2decd test/tool_shed/functional_tests.py --- a/test/tool_shed/functional_tests.py +++ b/test/tool_shed/functional_tests.py @@ -391,14 +391,14 @@ galaxyapp.shutdown() galaxyapp = None log.info( "Embedded galaxy application stopped" ) -# if 'TOOL_SHED_TEST_NO_CLEANUP' not in os.environ: -# try: -# for dir in [ tool_shed_test_tmp_dir ]: -# if os.path.exists( dir ): -# log.info( "Cleaning up temporary files in %s" % dir ) -# shutil.rmtree( dir ) -# except: -# pass + if 'TOOL_SHED_TEST_NO_CLEANUP' not in os.environ: + try: + for dir in [ tool_shed_test_tmp_dir ]: + if os.path.exists( dir ): + log.info( "Cleaning up temporary files in %s" % dir ) + shutil.rmtree( dir ) + except: + pass if success: return 0 else: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket