Pages
Categories
Tag Archives: unit test
Organizing Django Tests into Folders
Update: Due to some strange Django error, Django will refuse to run your app’s tests if your application doesn’t have a models.py file. You’ll need to create an empty models.pyin your app’s folder if you don’t have one Django comes with a nice testing rig that lets you individually test each app. By using a [...]
Django Unit Test Failure in auth Package
We’ve been using the django.contrib.auth app to handle all of our user login/logout/registration/etc. needs, and it has worked great for us so far. However, when we tried to run the unit tests for our project we found 10 or so errors with regards to the auth package itself. At first, I thought it was because [...]
Unit Tests in Django