~juju/pyjuju/0.7

« back to all changes in this revision

Viewing changes to juju/state/tests/test_relation.py

  • Committer: Kapil Thangavelu
  • Date: 2013-05-17 18:42:14 UTC
  • Revision ID: kapil@canonical.com-20130517184214-m1w78kxvngpc7lct
fix up ambiguity in client handle that caused pkg build test failures

Show diffs side-by-side

added added

removed removed

Lines of Context:
1766
1766
            "relation watcher start",
1767
1767
            "relation membership change",
1768
1768
            "relation watcher settings change %s" % (
1769
 
                "<ClientEvent changed at '%s' state: connected handle:0>" % node_path),
 
1769
                "<ClientEvent changed at '%s' state: connected handle:%s>" % (
 
1770
                    node_path, self.client.handle)),
1770
1771
            "relation watcher settings change %s" % (
1771
 
                "<ClientEvent changed at '%s' state: connected handle:0>\n" % node_path)
1772
 
            )
 
1772
                "<ClientEvent changed at '%s' state: connected handle:%s>\n" % (
 
1773
                    node_path, self.client.handle)))
1773
1774
        self.assertEqual(output.getvalue(), "\n".join(expected_output))
1774
1775
 
1775
1776
    @inlineCallbacks