published by | Adam Johnson |
---|---|
in blog | Adam Johnson |
original entry | Django: Parameterized tests for all model admin classes |
Here’s an application of “test smarter, not harder”, as per Luke Plant’s post. I came up with this recently whilst working on my client Silvr’s project, and I’m pretty proud of it. It should apply to any project using Django’s admin.
When you declare a …