def test_solr_to_solr_resume_checkonly(self):
        self._index_docs(50000,self.colls[0])
        solr = SolrClient(test_config['SOLR_SERVER'][0], devel=True, auth=test_config['SOLR_CREDENTIALS'])
        reindexer = Reindexer(source=solr, source_coll='source_coll', dest=solr, dest_coll='dest_coll', date_field='date')
        #Make sure only source has data
        self.assertEqual(len(solr.query(self.colls[0],{'q':'*:*','rows':10000000}).docs),50000)
        self.assertEqual(len(solr.query(self.colls[1],{'q':'*:*','rows':10000000}).docs),0)
        reindexer.resume(check=True)
        #Makes sure nothing got indexed
        self.assertEqual(len(solr.query(self.colls[0],{'q':'*:*','rows':10000000}).docs),50000)
        self.assertEqual(len(solr.query(self.colls[1],{'q':'*:*','rows':10000000}).docs),0)
Checks the date_range_query generation function. Since it's pretty simple, running all the tests as one
dataset/ETHPy150Open moonlitesolutions/SolrClient/test/test_reindexer.py/ReindexerTests.test_solr_to_solr_resume_checkonly