def test_dict_alias_expansion():
 ad = _AliasDict({'bar': False, 'biz': True}, aliases={'foo': ['bar', 'nested'], 'nested': ['biz']})
 eq_(ad.expand_aliases(['foo']), ['bar', 'biz'])

def test_dict_alias_expansion ( ) : ad = _AliasDict ( { 'bar' : False , 'biz' : True } , aliases = { 'foo' : [ 'bar' , 'nested' ] , 'nested' : [ 'biz' ] } ) eq_ ( ad . expand_aliases ( [ 'foo' ] ) , [ 'bar' , 'biz' ] )
alias expansion .