def create_copy_fields(self):
        for coll in self.colls:
            logging.debug("Creating copy fields for {}".format(coll))
            for field in test_config['collections']['copy_fields']:
                try:
                    self.solr.schema.create_copy_field(coll,field)
                except __HOLE__:
                    #Filed already exists probably
                    pass
dataset/ETHPy150Open moonlitesolutions/SolrClient/test/test_reindexer.py/ReindexerTests.create_copy_fields