DEV Community

Discussion on: A guide to testing flask applications using unittest!

Collapse
 
rogerperkins profile image
rogerperkins

In the example above, there is a misspelling in this line with the class, instead of flast_unittest with a t, it should be flask_unittest:

class TestFoo(flast_unittest.ClientTestCase):

should be this:

class TestFoo(flask_unittest.ClientTestCase):

That was really messing me up, thanks.

Roger