juju-solutions / matrix

Automatic testing of big software deployments under various failure conditions
Other
8 stars 9 forks source link

Create a selector for models #87

Open pengale opened 7 years ago

pengale commented 7 years ago

@abentley wants to be able to perform glitch actions against models.

The following code snippet probably does what he wants:

@selector
async def model(rule: Rule, model: Model):
    return [model]