Everyone loves superlatives, especially when I’m the one who gets to choose the efficiency metric so they’re probably not even hyperbole…!

It’s six lines long, and exercises your settings, your URL config, and potentially even much more!

from django.test import TestCase class BasicTestCase ( TestCase ): def test_getting_root ( self ): self . client . get ( '/' )

There are better quality tests. There are more thorough tests. That’s not what this is about.