~bcsaller/pyjuju/subordinate-endpoints

« back to all changes in this revision

Viewing changes to juju/hooks/tests/test_invoker.py

  • Committer: Benjamin Saller
  • Date: 2011-12-16 02:20:56 UTC
  • Revision ID: bcsaller@gmail.com-20111216022056-1j7jiaic8l31tkgz
move to non-namedtuple and default kw arguments

Show diffs side-by-side

added added

removed removed

Lines of Context:
439
439
    @defer.inlineCallbacks
440
440
    def _default_relations(self):
441
441
        wordpress_ep = RelationEndpoint(
442
 
            "wordpress", "client-server", "app", "client", False)
 
442
            "wordpress", "client-server", "app", "client")
443
443
        mysql_ep = RelationEndpoint(
444
 
            "mysql", "client-server", "db", "server", False)
 
444
            "mysql", "client-server", "db", "server")
445
445
        self.wordpress_states = yield self.\
446
446
            add_relation_service_unit_from_endpoints(wordpress_ep, mysql_ep)
447
447
        self.mysql_states = yield self.add_opposite_service_unit(