Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
2 | from osmo_gsm_tester.test import * | ||||
3 | |||||
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 4 | class ExpectedExn(Exception): |
5 | pass | ||||
6 | |||||
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 7 | # This can be used to verify that a test failure is reported properly. |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 8 | raise ExpectedExn('This failure is expected') |