Commit 1e939ac677f12f00413584cf7b82614bbd89e1c4
1 parent
97996a8a
Change error description to more sensible
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -114,7 +114,7 @@ def prepare_test_tender_data(period_interval, mode): | @@ -114,7 +114,7 @@ def prepare_test_tender_data(period_interval, mode): | ||
114 | return munchify({'data': test_tender_data(period_interval=period_interval)}) | 114 | return munchify({'data': test_tender_data(period_interval=period_interval)}) |
115 | elif mode == 'multi': | 115 | elif mode == 'multi': |
116 | return munchify({'data': test_tender_data_multiple_lots(period_interval=period_interval)}) | 116 | return munchify({'data': test_tender_data_multiple_lots(period_interval=period_interval)}) |
117 | - raise ValueError('A very specific bad thing happened') | 117 | + raise ValueError('Invalid mode for test_tender_data') |
118 | 118 | ||
119 | 119 | ||
120 | def run_keyword_and_ignore_keyword_definitions(name, *args): | 120 | def run_keyword_and_ignore_keyword_definitions(name, *args): |
Please
register
or
login
to post a comment