def test_get_instance(self):
    self.c._instances['juju:0'] = 'an-instance'
    self.assertEqual(self.c.get_instance('juju:0'), 'an-instance')
def test_get_instance(self):
    self.c._instances['juju:0'] = 'an-instance'
    self.assertEqual(self.c.get_instance('juju:0'), 'an-instance')