def test_blockwise_csv_download(self): csv = BlockwiseCsv(self.driver, self.year, self.month) result = csv.click_download_icon_of_blocks() self.assertEqual(result, 0, msg="Block wise csv report download is working") self.data.page_loading(self.driver)
def test_blockwise_csv_download(self): csv = BlockwiseCsv(self.driver, self.year, self.month) result = csv.click_download_icon_of_blocks() if result == 0: print("Block wise csv report download is working") else: raise self.failureException("Block wise csv report download is not working") time.sleep(2)