def test_only_model_attrs_exist(self):
        mock = ModelMock(Model)
        self.assertRaises(AttributeError, lambda x: x.baz, mock)
ModelMocks have only the members that the Model has.
dataset/ETHPy150Open dcramer/mock-django/tests/mock_django/models/tests.py/ModelMockTestCase.test_only_model_attrs_exist