Christian Sandberg

Results 86 comments of Christian Sandberg

I just thought that I should add that I’ve developed a plug-in for generating reports using template engines as an alternative for those occasions you find yourself needing to do...

@jkowalleck see my earlier reply for a template based alternative. I also think there is a plan to switch pytest-html to JavaScript which hopefully will allow customization in the future.

I can’t find any documentation on what “content” you can add. I had to look at the code to figure out it should be Base64 encoded. Also if you use...

Would the download attribute work perhaps? https://www.geeksforgeeks.org/html-a-download-attribute/amp/

Just for information, I've just started developing a plugin to generate reports using templates and hooks. This would be a typical use case where you have specific needs that would...

The reference template I’m developing is a self contained HTML file. Although Allure looks cool it is not always very practical to have to send a huge zip file or...

It's ready for use at https://github.com/christiansandberg/pytest-reporter. The idea is that you don't need to write a lot of Python code or get too much involved in Pytest internals but focus...

Which CAN interface are you using? Some of them support `receive_own_messages` and in combination with a listener you could be able to log all messages.

Then you should be able to add `receive_own_messages=True` to `network.connect()`, then add a callback function to `network.listeners`. Let me know if you need more guidance.

Do you mean that you want to passively monitor a CANopen bus and decode the messages? That's not supported unfortunately.