The following errors were found when running the test case
Ran 1 test in 22.505s
FAILED (errors=1)
Error
Traceback (most recent call last):
File "D:\Program\python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "D:\Program\python34\lib\unittest\case.py", line 580, in run
testMethod()
File "D:\python_workshop\appium_framework\TestCases\test_login.py", line 37, in test_login_success
LoginPage(self.driver).input_phoneNumber("1868XXXX553")
TypeError: object() takes no parameters
Really drunk: def__ init__ Wrong function
Just change it
Similar Posts:
- Python: __ new__ Method and the processing of typeerror: object() takes no parameters
- Prompt python.exe when using the command line to run the use case: error while finding module specification for ‘testcase_1.Test’…..
- Fast locating nonetype ‘object is not Iterable in Python
- PaddlePaddle Error: ‘map’ object is not subscriptable
- [Solved] OMV 4.x apt install Error: TypeError: ‘NoneType’ object is not callable
- Python Typeerror: super() takes at least 1 argument (0 given) error in Python
- How to Solve Python TypeError: ‘list’ object is not callable
- Object() takes no parameters of Python errors
- [Solved] An error occurred when paddlepaddle iterated data: typeerror: ‘function’ object is not iterative