~hopem/charms/trusty/nova-cloud-controller/lp1499435

« back to all changes in this revision

Viewing changes to unit_tests/test_utils.py

  • Committer: Liam Young
  • Date: 2015-06-04 08:45:01 UTC
  • mfrom: (163 nova-cloud-controller)
  • mto: This revision was merged to the branch mainline in revision 164.
  • Revision ID: liam.young@canonical.com-20150604084501-113hnbchy3qdht8o
Resync le charm helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
    if not config:
25
25
        logging.error('Could not find config.yaml in any parent directory '
26
 
                      'of %s. ' % file)
 
26
                      'of %s. ' % f)
27
27
        raise Exception
28
28
 
29
29
    return yaml.safe_load(open(config).read())['options']