Ticket #36491: test_issue.py
File test_issue.py, 346 bytes (added by , 2 months ago) |
---|
Line | |
---|---|
1 | from django.test import TestCase |
2 | |
3 | |
4 | class AbortingTest(TestCase): |
5 | @classmethod |
6 | def setUpTestData(cls): |
7 | raise RuntimeError("Boo!") |
8 | |
9 | def test_pass(self): |
10 | pass |
11 | |
12 | |
13 | class AnotherAbortingTest(TestCase): |
14 | @classmethod |
15 | def setUpTestData(cls): |
16 | raise RuntimeError("Boo Too!") |
17 | |
18 | def test_pass(self): |
19 | pass |