def test_districtwise_csv_download(self): csv = DistrictwiseCsv(self.driver, self.year, self.month) result = csv.click_download_icon_of_district() if result: print("District wise csv report download is working") csv.remove_csv() else: raise self.failureException("District wise csv report download is not working")
def test_districtwise_csv_download(self): csv = DistrictwiseCsv(self.driver, self.year, self.month) result = csv.click_download_icon_of_district() self.assertEqual(0, result, msg='Mis match found at footer information') print('Districtwise csv file is downloaded') self.data.page_loading(self.driver)
def test_districtwise_csv_download(self): self.tests.pop() self.logger.info("test_districtwise_csv_download is running" + " " + "Total :" + " " + str( self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1)) csv = DistrictwiseCsv(self.driver, self.year, self.month) result = csv.click_download_icon_of_district() if result: print("District wise csv report download is working") csv.remove_csv() else: raise self.failureException("District wise csv report download is not working") self.logger.info("test_districtwise_csv_download is completed...")