mirror of
https://github.com/django/django.git
synced 2024-12-23 17:46:27 +00:00
9012833af8
Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670.
23 lines
456 B
Python
23 lines
456 B
Python
from unittest import TestCase as UnitTestCase
|
|
|
|
from django.test import TestCase as DjangoTestCase
|
|
from django.utils.unittest import TestCase as UT2TestCase
|
|
|
|
|
|
class TestVanillaUnittest(UnitTestCase):
|
|
|
|
def test_sample(self):
|
|
self.assertEqual(1, 1)
|
|
|
|
|
|
class TestUnittest2(UT2TestCase):
|
|
|
|
def test_sample(self):
|
|
self.assertEqual(1, 1)
|
|
|
|
|
|
class TestDjangoTestCase(DjangoTestCase):
|
|
|
|
def test_sample(self):
|
|
self.assertEqual(1, 1)
|