You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In several test files the called_once method of mock is used without the required parentheses ().
In this way the called_once statements have no effect, the tests seem to succeed, but actually nothing is tested.
This issue has been marked stale because it has been open for 14 days with no activity. Please remove the stale label or comment on this issue, or the issue will be automatically closed in the next 14 days.
In several test files the called_once method of mock is used without the required parentheses ().
In this way the called_once statements have no effect, the tests seem to succeed, but actually nothing is tested.
See for example:
ROS-TCP-Endpoint/test/test_server.py
Line 75 in 58cd28f
In
ROS-TCP-Endpoint/test/test_server.py
Line 76 in 58cd28f
It should not be checked that the mock is called_once but its getitem method.
The text was updated successfully, but these errors were encountered: