Merge pull request #760 from jmchilton/test_error

Bugfix in test error reporting handling code.
This commit is contained in:
Nicola Soranzo
2015-09-21 15:23:14 +01:00
+5 -1
View File
@@ -308,7 +308,11 @@ class GalaxyInteractorApi( object ):
except Exception:
print "*TEST FRAMEWORK FAILED TO FETCH HISTORY DETAILS*"
for dataset in history_contents:
for history_content in history_contents:
if history_content[ 'history_content_type'] != 'dataset':
continue
dataset = history_content
if dataset[ 'state' ] != 'error':
continue