DEV Community

Discussion on: How to add basic unit test to a Python Flask app using Pytest

Collapse
 
jsalvador profile image
Juanjo Salvador

Nice! I have a lot of experience coding Python but not the same for testing (unit, functional o integration) with Flask. It's cool to see this.

You have a typo on the second codeblock

mport pytest
Enter fullscreen mode Exit fullscreen mode

instead of

import pytest
Enter fullscreen mode Exit fullscreen mode
Collapse
 
po5i profile image
Carlos V.

Good catch! Fixed.

Thank you.