mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 04:03:20 +07:00
* Targets are trimmed * When unittest reports test with docstring it should be part of name, but not location
11 lines
279 B
Python
11 lines
279 B
Python
from unittest import TestCase
|
|
|
|
class SomeTestCase(TestCase):
|
|
def testSomething(self):
|
|
""" Only with docstring test is parsed with extra space"""
|
|
self.assertEqual(1 + 1, 2)
|
|
|
|
def testSomethingBad(self):
|
|
"""Fail"""
|
|
self.assertEqual(1 + 1, 3)
|