DEV Community

Discussion on: Use assertLogs to test Python logs

Collapse
 
kthy profile image
Kristian Thy

Not as far as I can tell, but you can use unittest tests in pytest. This means you can just add a unittest class alongside your normal pytest tests and it will magically all work.