Пример #1
0
 def model(self):
     model = Mock(name='model')
     model.__name__ = 'Model'
     return model
Пример #2
0
 def model(self):
     model = Mock(name="model")
     model.__name__ = "Model"
     return model