A theoretical question about testing application state, which got stuck in my mind for a while:
Let's assume you're doing some kind of feature inside the code base, which requires you to create a new query to a Django Model.
For example let's use Question model which we have.
Requirement for my feature is that I want to retrieve Question with its some_field equal to 1337 or 1338 and I want it to present to a user.
class Question:
id = PKField()
one_of_bools = BoolField()