356
356
self.assertInterpolate('foo', c, 'foo')
360
360
self.assertInterpolate('bar', c, '{foo}', {'foo': 'bar'})
364
self.assertInterpolate('bar', c, '{foo}', {'foo': 'bar'})
362
366
def test_simple_ref(self):
363
367
c = self.get_config('foo=xxx')
364
368
self.assertInterpolate('xxx', c, '{foo}')
366
370
def test_indirect_ref(self):
370
375
self.assertInterpolate('xxx', c, '{bar}')
372
377
def test_embedded_ref(self):
376
382
self.assertInterpolate('xxx', c, '{{bar}}')
378
384
def test_simple_loop(self):