aboutsummaryrefslogtreecommitdiffstats
path: root/suites/debug/fail_raise.py
blob: c30a4f5cfa14439a1ddc324afe3f6e98b740ac61 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env python3
from osmo_gsm_tester.testenv import *

class ExpectedExn(Exception):
    pass

# This can be used to verify that a test failure is reported properly.
raise ExpectedExn('This failure is expected')