~corey.bryant/charms/trusty/nova-compute/contrib.python.packages

« back to all changes in this revision

Viewing changes to tests/charmhelpers/contrib/openstack/amulet/utils.py

  • Committer: Corey Bryant
  • Date: 2014-12-10 20:28:56 UTC
  • Revision ID: corey.bryant@canonical.com-20141210202856-8jgzamcjgpyz4vg6
Sync charm-helpers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
import keystoneclient.v2_0 as keystone_client
8
8
import novaclient.v1_1.client as nova_client
9
9
 
 
10
import six
 
11
 
10
12
from charmhelpers.contrib.amulet.utils import (
11
13
    AmuletUtils
12
14
)
60
62
           expected service catalog endpoints.
61
63
           """
62
64
        self.log.debug('actual: {}'.format(repr(actual)))
63
 
        for k, v in expected.iteritems():
 
65
        for k, v in six.iteritems(expected):
64
66
            if k in actual:
65
67
                ret = self._validate_dict_data(expected[k][0], actual[k][0])
66
68
                if ret: