From 311100ff9e40128b4da158fbb404a0b781765e11 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 21 Sep 2015 09:21:28 +0100 Subject: [PATCH] Bugfix in test error reporting handling code. The code for showing status of histories in error would fail if there are collections in the history. This fixes that and skips over collections. --- test/base/interactor.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/base/interactor.py b/test/base/interactor.py index 535e6446c96..590fb18a441 100644 --- a/test/base/interactor.py +++ b/test/base/interactor.py @@ -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