Exemplo n.º 1
0
    def test_schools_per_cluster_csv_download(self):
        self.tests.pop()
        self.logger.info("test_schools_per_cluster_csv_download is running" + " " + "Total :" + " " + str(
            self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))

        schools = SchoolsPerClusterCsvDownload(self.driver)
        result = schools.check_csv_download()
        self.assertEqual(0, result, msg="Some files are not downloaded")

        self.logger.info("test_schools_per_cluster_csv_download is completed...")
Exemplo n.º 2
0
 def test_schools_per_cluster_csv_download4(self):
     self.driver = self.data.get_driver_SR_Download4()
     self.data.open_cqube_appln(self.driver)
     self.data.login_cqube(self.driver)
     self.data.navigate_to_semester_report()
     schools = SchoolsPerClusterCsvDownload(self.driver)
     result = schools.check_csv_download4()
     self.assertEqual(0, result, msg="Some files are not downloaded")
     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")
Exemplo n.º 3
0
    def test_schools_per_cluster_csv_download(self):
        self.tests.pop()
        self.logger.info("test_schools_per_cluster_csv_download is running" +
                         " " + "Total :" + " " + str(self.total_tests) + " " +
                         "Remaining :" + " " + str(len(self.tests) - 1))

        schools = SchoolsPerClusterCsvDownload(self.driver)
        result = schools.check_csv_download()
        self.assertEqual(0, result, msg="Some files are not downloaded")
        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")
        self.logger.info(
            "test_schools_per_cluster_csv_download is completed...")