def test_block_wise_download(self): b = Blockwise_csv_download(self.driver) res, res1 = b.test_download_blockwise() self.assertTrue(res, msg='Block level csv file is not downloaded') self.assertNotEqual(res1, 0, msg='Markers are missing on school level map ') print('blockwise csv file download is working')
def test_cluster_wise_download(self): self.data.page_loading(self.driver) b = Blockwise_csv_download(self.driver) res, res1 = b.test_download_blockwise() self.assertTrue(res, msg='School level csv file is not downloaded') self.assertNotEqual(res1, 0, msg='Markers are missing on school level map ') print('clusterwise csv file download is working') self.data.page_loading(self.driver)