def test_last30day_csv_download(self): b = Time_periods(self.driver) res = b.check_last_30_day_districtwise_download() self.assertEqual(0, res, msg='Csv file is not downloaded') print( 'Last 30 Days content progress district wise csv file is downloaded' ) self.data.page_loading(self.driver)
def test_all_type_csv_download(self): b = Time_periods(self.driver) res = b.check_all_districtwise_download() self.assertEqual(0, res, msg='Csv file is not downloaded') print('All time content progress district wise csv file is downloaded') self.data.page_loading(self.driver)