﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
16372	TransactionTestCase doesn't count skipped cases in test result.	Piotr Czachur	nobody	"In r16369 return was added for test cases decorated with unittest.skip:
{{{
Index: django/trunk/django/test/testcases.py
===================================================================
--- a/django/trunk/django/test/testcases.py
+++ b/django/trunk/django/test/testcases.py
@@ -283,4 +283,9 @@
         include a call to super().setUp().
         """"""
+        testMethod = getattr(self, self._testMethodName)
+        if (getattr(self.__class__, ""__unittest_skip__"", False) or
+            getattr(testMethod, ""__unittest_skip__"", False)):
+            return

}}}

This should solve the problem:
{{{
self._addSkip(result, skip_why)
}}}

Cheers!"	Bug	closed	Testing framework	dev	Normal	fixed			Accepted	1	0	1	0	0	0
