~ubuntu-branches/ubuntu/precise/juju/precise

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-10-09 09:50:34 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20111009095034-2xp4tmcwabw157rn
Tags: 0.5+bzr398-0ubuntu1
* New upstream snapshot.
* refreshed patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        self.assertEqual(event.type_name, "created")
86
86
 
87
87
        exists_d, watch_d = self.client.exists_and_watch("/agent")
 
88
        self.assertTrue((yield exists_d))
88
89
 
89
90
        # Force the connection of the domain object to disappear
90
91
        yield client.close()
91
92
 
92
93
        event = yield watch_d
93
94
        self.assertEqual(event.type_name, "deleted")
94
 
        yield exists_d