'Test a crazy namespace renaming scheme with wildcards.'

def test_map_db_wildcard(self):

    namespace_config = NamespaceConfig(namespace_options={'db.1_*': 'db1.new_*', 'db.2_*': 'db2.new_*', 'db.3': 'new_db.3'})
    self.assertEqual(set(namespace_config.map_db('db')), set(['db1', 'db2', 'new_db']))
