Because user object in tests is Mock object. And Mock objects can't be used in Querysets.