Commit 89352d42 authored by Robin Obůrka's avatar Robin Obůrka Committed by Robin Obůrka

msgloop: Re-raise AssertionError - it is necessary for pytest

parent 71354c39
......@@ -58,6 +58,10 @@ def sn_main(box_name, setup=None, process=None, teardown=None, argparser=None, a
except LoopError as e:
raise e
except AssertionError as e:
# For pytest
raise e
except Exception as e:
logger.error("Uncaught exception from loop")
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