def test_get_copy_fields(self):
        reindexer = Reindexer(source=self.solr, source_coll=self.colls[0], dest=self.solr, dest_coll='doesntmatter')
        self.assertEqual(reindexer._get_copy_fields(),
                        [field['dest'] for field in self.solr.schema.get_schema_copyfields(self.colls[0])])
Invoked after 'consume_options' is called to set the Configuration object to be used.
dataset/ETHPy150Open moonlitesolutions/SolrClient/test/test_reindexer.py/ReindexerTests.test_get_copy_fields--crossover with--dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/platform_windows.py/WindowsPlatformController.consume_config