Example #1
0
 def test_schools_per_cluster_csv_download1(self):
     school = test_school_map_schoollevel_records(self.driver)
     result = school.check_download_csv1()
     if result == 0:
         print("Schools per cluster csv download report is working")
         print("on selection of each district,block and cluster")
         print("The footer value of no of schools and no of students are")
         print("equals to downloaded file")
     else:
         raise self.failureException("Schools per cluster csv report download1 is working")
 def test_schools_per_cluster_csv_download4(self):
     self.driver = self.data.get_driver_SIMAP_Download4()
     self.data.open_cqube_appln(self.driver)
     self.data.login_cqube(self.driver)
     self.data.navigate_to_school_infrastructure_map()
     school = test_school_map_schoollevel_records(self.driver)
     result = school.check_download_csv4()
     if result == 0:
         print("Schools per cluster csv download report is working")
         print("on selection of each district,block and cluster")
         print("The footer value of no of schools and no of students are")
         print("equals to downloaded file")
     else:
         raise self.failureException("Schools per cluster csv report download4 is working")
Example #3
0
 def test_schoollevel(self):
     b = test_school_map_schoollevel_records(self.driver)
     res = b.check_download_csv1()
     self.assertEqual(0,
                      res,
                      msg='Some records or downloading is not working ')