~clint-fewbar/pyjuju/repo-from-env

« back to all changes in this revision

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

merge always-break-broken-relations [f=903016][r=hazmat,jimbaker]

when a unit agent is restarted after a period of inactivity, any relations broken during that period will be detected, and the appropriate hooks wil be fired

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
                                              service_relation.relation_name,
94
94
                                              self.makeDir(), self.executor)
95
95
            workflow_state = RelationWorkflowState(
96
 
                self.client, unit_relation, lifecycle, self.makeDir())
 
96
                self.client, unit_relation, service_relation.relation_name,
 
97
                lifecycle, self.makeDir())
97
98
            yield workflow_state.set_state(state)
98
99
 
99
100
    @inlineCallbacks