要包括模块类定义,使用以下伪指令:
import PySide.QtTest
注意
All macros in the C++ version of QtTest were not binded in PySide, this module is useful only for GUI testing and benchmarking, for ordinary unit testing you should use the unittest Python module.