def test_is_smith(self):
    mymodel = MyModel()
with mock.patch('MyModel.is_smith', new_callable=mock.PropertyMock
    ) as mocked_model:
    mocked_model.return_value = True
Rewrite model @property in Factory Boy's object factory