Message384561
@zach.ware
@r.david.murray
I'm going through the source currently.
I see that the test file is using:
class MinidomTest(unittest.TestCase):
def confirm(self, test, testname = "Test"):
self.assertTrue(test, testname)
Is there a specific reason to use this form instead of just directly using self.assertEqual or similar forms for new tests or reorganizing some of the tests.
I see that it is used for example for giving a testname but
def testAAA(self):
dom = parseString("<abc/>")
el = dom.documentElement
el.setAttribute("spam", "jam2")
self.confirm(el.toxml() == '<abc spam="jam2"/>', "testAAA")
testAAA is not specifically helping. :) |
|
Date |
User |
Action |
Args |
2021-01-07 05:55:30 | karlcow | set | recipients:
+ karlcow, r.david.murray, python-dev, zach.ware, serhiy.storchaka, Julian.Gindi, ajitesh.gupta |
2021-01-07 05:55:30 | karlcow | set | messageid: <1609998930.22.0.922867942603.issue19683@roundup.psfhosted.org> |
2021-01-07 05:55:30 | karlcow | link | issue19683 messages |
2021-01-07 05:55:29 | karlcow | create | |
|