commit/galaxy-central: greg: Always return a list for the value of the tool_test_results column in the Tool Shed's repository_metadata table.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/3bf805dfa14e/ Changeset: 3bf805dfa14e User: greg Date: 2013-12-10 16:38:45 Summary: Always return a list for the value of the tool_test_results column in the Tool Shed's repository_metadata table. Affected #: 1 file diff -r 6c8d175a4c241a192962bf40f578b223bf3299f1 -r 3bf805dfa14eb150e90c1aab565eb22b8ab3d9b8 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 @@ -49,6 +49,7 @@ from datetime import datetime from galaxy.app import UniverseApplication from galaxy.util import asbool +from galaxy.util import listify from galaxy.util import unicodify from galaxy.util.json import from_json_string from galaxy.util.json import to_json_string @@ -465,7 +466,9 @@ repository_metadata, error_message = json_from_url( api_url ) if error_message: return None, error_message - tool_test_results = repository_metadata.get( 'tool_test_results', [] ) + # The tool_test_results used to be stored as a single dictionary rather than a list, but we currently + # return a list. + tool_test_results = listify( repository_metadata.get( 'tool_test_results', [] ) ) return tool_test_results, error_message def get_webapp_global_conf(): 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