Commit 1e939ac677f12f00413584cf7b82614bbd89e1c4

Authored by selurvedu
1 parent 97996a8a

Change error description to more sensible

... ... @@ -114,7 +114,7 @@ def prepare_test_tender_data(period_interval, mode):
114 114 return munchify({'data': test_tender_data(period_interval=period_interval)})
115 115 elif mode == 'multi':
116 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 120 def run_keyword_and_ignore_keyword_definitions(name, *args):
... ...
Please register or login to post a comment