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

class ExpectedExn(Exception):
    pass

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