This insanity will show you why: bin/test.maas src/maasserver/tests/test_dns.py It's better to import from the sub-module that owns the model, and you're far less likely to get circular imports.