运行测试用例时发现以下报错
Ran 1 test in 22.505s FAILED (errors=1) Error Traceback (most recent call last): File "D:Programpython34libunittestcase.py", line 58, in testPartExecutor yield File "D:Programpython34libunittestcase.py", line 580, in run testMethod() File "D:python_workshopappium_frameworkTestCases est_login.py", line 37, in test_login_success LoginPage(self.driver).input_phoneNumber("1868XXXX553") TypeError: object() takes no parameters
真是醉了:def __init__函数写错了,
改过来就好了