-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logging.error
calls from non-robot code are treated as robot errors
#300
Comments
@DetachHead could you help me investigate ? |
so it looks like what's happening here is:
robot handles errors in the stupidest way imaginable. ideally there'd be a way to differentiate random |
logging.error
calls from non-robot code are treated as robot errors
@DetachHead can we detect whether the logging.error is actually within a pytest.raises and not taken account the logging.error from that section of the robot log ? i'm not quite sure how deep the pytest listener is actually being implemented. |
Exception thrown from another import is not being suppressed when calling pytest.raises
I tested the scenario where a module right away throwing the import - and that works fine
OS: Running on windows
requirements:
python-can==3.3.4
pytest_robotframework==4.2.3
Without pytest_robotframework installed i dont get a failure
With pytest_robotframework installed i failed
I got:
The text was updated successfully, but these errors were encountered: