~andrewjbeach/juju-ci-tools/make-local-patcher

« back to all changes in this revision

Viewing changes to template_assess.py.tmpl

Handle LoggedException in quickstart_deploy, assess_bootstrap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
from __future__ import print_function
5
5
 
 
6
__metaclass__ = type
 
7
 
6
8
import argparse
7
9
import logging
8
10
import sys
16
18
)
17
19
 
18
20
 
19
 
__metaclass__ = type
20
 
 
21
 
 
22
21
log = logging.getLogger("assess_TEMPLATE")
23
22
 
24
23
 
25
24
def assess_TEMPLATE(client):
26
25
    # Deploy charms, there are several under ./repository
27
 
    client.deploy('local:trusty/my-charm')
 
26
    client.juju("deploy", ('local:trusty/my-charm',))
28
27
    # Wait for the deployment to finish.
29
28
    client.wait_for_started()
30
29
    log.info("TODO: Add log line about any test")