Verified Commit 48e39fee authored by Štěpán Balážik's avatar Štěpán Balážik Committed by Petr Špaček

normalise what exceptions we raise from Deckard to ValueError

parent 5369f011
......@@ -898,7 +898,7 @@ class Scenario:
for e in r.stored:
if e.mandatory and e.fired == 0:
# TODO: cisla radku
raise RuntimeError('Mandatory section at %s not fired' % e.mandatory.span)
raise ValueError('Mandatory section at %s not fired' % e.mandatory.span)
def get_next(file_in, skip_empty=True):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment