Skip to content

Commit 7e4219e

Browse files
committed
Improving unit test error handling mssg
1 parent e5cdbe5 commit 7e4219e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_datasets/test_dataset_functions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,8 @@ def test_publish_fetch_ignore_attribute(self):
11251125
except Exception as e:
11261126
# returned code 273: Dataset not processed yet
11271127
# returned code 362: No qualities found
1128+
print("Trial {}/{}: ".format(trials + 1, timeout_limit))
1129+
print("\tFailed to fetch dataset:{} with '{}'.".format(upload_did, str(e)))
11281130
trials += 1
11291131
continue
11301132
if dataset is None:

0 commit comments

Comments
 (0)