~hazmat/pyjuju/local-survive-restart

« back to all changes in this revision

Viewing changes to juju/control/tests/test_resolved.py

merge resolve-unit-relation-diffs [r=jimbaker,hazmat][f=773600]

Queued hook firings are now persisted on disk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
        """
90
90
        for unit, state in units:
91
91
            unit_relation = yield service_relation.add_unit_state(unit)
92
 
            lifecycle = UnitRelationLifecycle(self.client,
93
 
                                              unit.unit_name, unit_relation,
94
 
                                              service_relation.relation_name,
95
 
                                              self.makeDir(), self.executor)
 
92
            lifecycle = UnitRelationLifecycle(
 
93
                self.client, unit.unit_name, unit_relation,
 
94
                service_relation.relation_name, self.makeDir(), self.makeDir(),
 
95
                self.executor)
96
96
            workflow_state = RelationWorkflowState(
97
97
                self.client, unit_relation, service_relation.relation_name,
98
98
                lifecycle, self.makeDir())