我希望能够获得特定测试方法的结果并将其输出到拆解方法中,同时使用鼻子测试运行器.有一个很好的例子在这里.
但不幸的是,运行nosetests example.py不起作用,因为鼻子似乎不喜欢超类中的run方法被覆盖的事实:
nosetests example.py
AttributeError: 'ResultProxy' object has no attribute 'wasSuccessful'
python nose
nose ×1
python ×1