File tree 5 files changed +22
-0
lines changed
5 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ Debug pytest / pytest-django unittest issue (https://github.com/pytest-dev/pytest-django/issues/753 )
Original file line number Diff line number Diff line change
1
+ class MyMixin :
2
+ def setUpClass (cls ):
3
+ print ('MyMixin.setUpClass' , cls )
Original file line number Diff line number Diff line change
1
+ from mixin import MyMixin
2
+
3
+
4
+ class FirstTestCase (MyMixin ):
5
+ def test_1st (self ):
6
+ print ("test_1st" , self )
Original file line number Diff line number Diff line change
1
+ from mod1 import FirstTestCase
2
+
3
+
4
+ class SecondTestCase (FirstTestCase ):
5
+ def test_2nd (self ):
6
+ print ("test_2nd" , self )
Original file line number Diff line number Diff line change
1
+ from mod2 import SecondTestCase
2
+
3
+
4
+ class Test (SecondTestCase ):
5
+ def test_test (self ):
6
+ print ("test_test" , self )
You can’t perform that action at this time.
0 commit comments