DEV Community

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

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

instead of

import pytest
po5i profile image
Carlos Villavicencio Author

Good catch! Fixed.

Thank you.