unittest中报错:AttributeError: 'TestLogin' object has no attribute 'driver'解决方法

源代码如下:

更改后:

执行成功。

猜你喜欢

转载自www.cnblogs.com/Asiihu/p/10167964.html