125
125
client.add_model.return_value = new_model
128
127
with patch.object(pl, 'deploy_stack', autospec=True) as m_deploy_stack:
129
128
pl.action_create(client, series='foo')
131
130
m_deploy_stack.assert_called_once_with(new_model, 'foo')
135
134
class TestPerfscaleLongrunPerf(TestCase):