~hopem/charms/trusty/keystone/lp1476325

« back to all changes in this revision

Viewing changes to unit_tests/test_utils.py

  • Committer: james.page at ubuntu
  • Date: 2014-07-15 15:57:34 UTC
  • mto: This revision was merged to the branch mainline in revision 72.
  • Revision ID: james.page@ubuntu.com-20140715155734-abxkenns9j3pnx6j
Tidy lint

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        return self.config
81
81
 
82
82
    def set(self, attr, value):
83
 
            if attr not in self.config:
84
 
                raise KeyError
85
 
            self.config[attr] = value
 
83
        if attr not in self.config:
 
84
            raise KeyError
 
85
        self.config[attr] = value
86
86
 
87
87
 
88
88
class TestRelation(object):