Esempio n. 1
0
 def test_all_districts(self):
     b = district_level_records(self.driver)
     res = b.test_all_districtwise()
     self.assertEqual(
         0, res, msg='All type some district wise csv file not downloaded')
     print('checked with all period all districts')
     self.data.page_loading(self.driver)
Esempio n. 2
0
 def test_last7_districts(self):
     b = district_level_records(self.driver)
     res = b.test_last_7_days_districtwise()
     self.assertEqual(
         0,
         res,
         msg='last 7days some district wise csv file not downloaded')
     print('checked last 7 days period records with all districts')
     self.data.page_loading(self.driver)