PY-22406: Report unittest as subtests

* Some issues are still missed (see my comments in issue)
* EnvTagsRequired now can be applied to method
This commit is contained in:
Ilya.Kazakevich
2017-03-28 22:19:00 +03:00
parent b795a3eb9d
commit 474ef350ba
6 changed files with 95 additions and 17 deletions
+9
View File
@@ -0,0 +1,9 @@
from unittest import TestCase
class SpamTest(TestCase):
def test_test(self):
for i in range(0, 10):
with self.subTest(i=i):
print(1)
self.assertTrue(i % 2)