fixed PY-11911 Nosetests: test name gets trimmed if it starts with module name in which test is located.

This commit is contained in:
Ekaterina Tuzova
2014-11-09 16:47:13 +03:00
parent 9998d04dfa
commit 0e4612221b
-3
View File
@@ -86,9 +86,6 @@ class TeamcityPlugin(ErrorClassPlugin, TextTestResult, TeamcityTestResult):
ind_1 = test_name_full.rfind('(')
if ind_1 != -1:
return test_name_full[:ind_1]
ind = test_name_full.rfind('.')
if ind != -1:
return test_name_full[test_name_full.rfind(".") + 1:]
return test_name_full