commit/galaxy-central: inithello: Update rss feed per changes in tool test results dict.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/4de773e06e14/ Changeset: 4de773e06e14 User: inithello Date: 2013-04-26 17:16:16 Summary: Update rss feed per changes in tool test results dict. Affected #: 1 file diff -r 3c9b47aca3a5d25f23fcccfbc8e42d897dd39743 -r 4de773e06e148df80d85783b04408307ba277f00 lib/galaxy/webapps/tool_shed/controllers/repository.py --- a/lib/galaxy/webapps/tool_shed/controllers/repository.py +++ b/lib/galaxy/webapps/tool_shed/controllers/repository.py @@ -1122,10 +1122,11 @@ # Generate a citable URL for this repository with owner and changeset revision. repository_citable_url = suc.url_join( tool_shed_url, 'view', user.username, repository.name, metadata_row.changeset_revision ) title = 'Functional test results for changeset revision %s of %s' % ( metadata_row.changeset_revision, repository.name ) - tests_passed = len( metadata_row.tool_test_results.get( 'tests_passed', [] ) ) - tests_failed = len( metadata_row.tool_test_results.get( 'test_errors', [] ) ) - invalid_tests = len( metadata_row.tool_test_results.get( 'invalid_tests', [] ) ) - description = '%d tests passed, %d tests failed, %d tests determined to be invalid.' % ( tests_passed, tests_failed, invalid_tests ) + passed_tests = len( metadata_row.tool_test_results.get( 'passed_tests', [] ) ) + failed_tests = len( metadata_row.tool_test_results.get( 'failed_tests', [] ) ) + missing_test_components = len( metadata_row.tool_test_results.get( 'missing_test_components', [] ) ) + description = '%d tests passed, %d tests failed, %d tests missing test components.' % \ + ( passed_tests, failed_tests, missing_test_components ) # The guid attribute in an RSS feed's list of items allows a feed reader to choose not to show an item as updated # if the guid is unchanged. For functional test results, the citable URL is sufficiently unique to enable # that behavior. 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