Another day, another piece of testing mayhem. I've completed the 0.1 version of my Flask-Downloader helper class. With this, I could complete my web app. Now, the downloader itself has a bunch of tests to make sure it's working as expected, but I was also going to test the …
more ...Today, I decided to go for the downloader component that can download
files on the behalf of the users. While looking at how to test this, I
actually noticed that the mm_unit
functionality has been merged into
the minimock
package. Sweet.
I wanted to keep this modular, a downloader sounds …
Today, I decided to go and restructure my webapp into a package as recommended by the Flask "Larger Applications" pattern. Thanks to my existing test suite, the move was quick and pain-free. I had to fix imports in one of the tests, but apart from that, the only thing I …
more ...Looks like my system strikes back. A fitting thing to happen for an
episode 2, I guess. Turns out that nosetests
and virtualenv
need
some extra care and feeding when kept together. Installing another copy
of nosetests into my virtualenv fixed the test failures I was seeing.
Thanks to the …