Ejemplo n.º 1
0
 def test_block_per_district_csv_download(self):
     dist = DistrictCsvDownload(self.driver)
     result = dist.check_districts_csv_download()
     self.assertEqual(0, result, msg="Some files are not downloaded")
     print("Block per district csv report download is working")
     print("on selection of each district")
     print("The footer value of no of schools and no of students are")
     print("equals to downloaded file")
Ejemplo n.º 2
0
    def test_block_per_district_csv_download(self):
        self.tests.pop()
        self.logger.info("test_block_per_district_csv_download is running" + " " + "Total :" + " " + str(
            self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))

        dist = DistrictCsvDownload(self.driver)
        result = dist.check_districts_csv_download()
        self.assertEqual(0, result, msg="Some files are not downloaded")

        self.logger.info("test_block_per_district_csv_download is completed...")
    def test_block_per_district_csv_download(self):
        self.tests.pop()
        self.logger.info("test_block_per_district_csv_download is running" + " " + "Total :" + " " + str(
            self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))

        dist = DistrictCsvDownload(self.driver)
        result = dist.check_districts_csv_download()
        self.assertEqual(0, result, msg="Some files are not downloaded")
        print("Block per district csv report download is working")
        print("on selection of each district")
        print("The footer value of no of schools and no of students are")
        print("equals to downloaded file")
        self.logger.info("test_block_per_district_csv_download is completed...")
Ejemplo n.º 4
0
 def test_block_per_district_csv_download(self):
     dist = DistrictCsvDownload(self.driver)
     result = dist.check_districts_csv_download()
     self.assertEqual(0, result, msg="Some files are not downloaded")