fix: Remove redundant log, fix format by janbuchar · Pull Request #408 · apify/crawlee-python
labels
Aug 7, 2024Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add a test case for this maybe? so its clear how it looks
can we add a test case for this maybe? so its clear how it looks
We can, but should we? It sounds both flaky and fragile...
Well, I don't want any flaky tests, but you can mock everything out. My idea was a simple unit test where you log predefined stats and assert how they were logged.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thats exactly what i meant 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters