~jimbaker/pyjuju/ssh-known_hosts

« back to all changes in this revision

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

  • Committer: Gustavo Niemeyer
  • Date: 2011-09-16 00:37:59 UTC
  • mfrom: (348.1.13 the-big-renaming)
  • Revision ID: gustavo@niemeyer.net-20110916003759-bx3vsznroj4gv7w7
Merging the-big-renaming branch! Say hello to juju!

This is a massive change renaming and fixing several things
on the way. Unfortunately my day is finishing and I didn't
manage to get 100% of the tests passing, but there's very
few things broken right now, and I don't want to keep such
a massive change flying around.

We'll sort any details out tomorrow.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
from twisted.internet.defer import inlineCallbacks, succeed
3
3
from yaml import dump
4
4
 
5
 
from ensemble.providers.dummy import MachineProvider
6
 
from ensemble.control import main
 
5
from juju.providers.dummy import MachineProvider
 
6
from juju.control import main
7
7
 
8
8
from .common import ControlToolTest
9
9
 
13
13
    @inlineCallbacks
14
14
    def test_bootstrap(self):
15
15
        """
16
 
        'ensemble-control bootstrap' will invoke the bootstrap method of all
 
16
        'juju-control bootstrap' will invoke the bootstrap method of all
17
17
        configured machine providers in all environments.
18
18
        """
19
19
        config = {
20
 
            "ensemble": "environments",
21
20
            "environments": {
22
21
                "firstenv": {
23
22
                    "type": "dummy", "admin-secret": "homer"},
59
58
        specified on the cli, then an error message is given.
60
59
        """
61
60
        config = {
62
 
            "ensemble": "environments",
63
61
            "environments": {
64
62
                "firstenv": {
65
63
                    "type": "dummy", "admin-secret": "homer"},
83
81
        If the environment specified does not exist an error message is given.
84
82
        """
85
83
        config = {
86
 
            "ensemble": "environments",
87
84
            "environments": {
88
85
                "firstenv": {
89
86
                    "type": "dummy", "admin-secret": "homer"}}}