def testCreateRadio(self):
radio = self.menu.createRadio('text', 123)
self.assertIsInstance(radio, PyQt5.QtWidgets.QRadioButton)
self.assertEqual(radio.id, 123)
self.assertEqual(radio.text(), 'text')
singleplayer_test.py 文件源码
python
阅读 27
收藏 0
点赞 0
评论 0
评论列表
文章目录