TDD django models
Shouldn't tests test functionality rather than implementation? In other words, test that the field can store an integer, not that it is an IntegerField. Then if that gets changed to a BooleanField your test fails (assuming no coercion), but if it gets changed to a FloatField the test still passes, because it can still store an integer.
If you're trying to do Test Driven Development, is it sane to write tests that check the column type of your models as you write your models?
Like before you write your model, you write a test and say I want an ID field that is an integer field.