commit/galaxy-central: inithello: Fix for installing and testing repositories where all functional tests fail.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/5d9328262021/ changeset: 5d9328262021 user: inithello date: 2013-03-11 19:21:32 summary: Fix for installing and testing repositories where all functional tests fail. affected #: 1 file diff -r c07417582dd369a02625d3b3d170718fd69bdd12 -r 5d9328262021b414c9005f79b0c97605acdd4c94 test/install_and_test_tool_shed_repositories/functional_tests.py --- a/test/install_and_test_tool_shed_repositories/functional_tests.py +++ b/test/install_and_test_tool_shed_repositories/functional_tests.py @@ -155,9 +155,11 @@ self.passed[ test_identifier ].append( fixed_test_id ) def getTestStatus( self, test_identifier ): - tests_passed = self.passed[ test_identifier ] - del self.passed[ test_identifier ] - return tests_passed + if test_identifier in self.passed: + tests_passed = self.passed[ test_identifier ] + del self.passed[ test_identifier ] + return tests_passed + return [] def execute_uninstall_method( repository_dict ): # Delete any configured tool functional tests from the test_toolbox.__dict__, otherwise nose will find them 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)
-
commits-noreply@bitbucket.org