We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 886ffe6 commit ae1f1d1Copy full SHA for ae1f1d1
mixin.py
@@ -1,3 +1,4 @@
1
class MyMixin:
2
+ @classmethod
3
def setUpClass(cls):
4
print('MyMixin.setUpClass', cls)
mod1/__init__.py
@@ -1,6 +1,8 @@
+from unittest import TestCase
+
from mixin import MyMixin
5
-class FirstTestCase(MyMixin):
6
+class FirstTestCase(MyMixin, TestCase):
7
def test_1st(self):
8
print("test_1st", self)
0 commit comments