def test_districtwise_csv(self):
     b = download_districtwise(self.driver)
     res = b.test_donwload()
     self.assertTrue(res, msg="districtwise file is not downloaded")
     b.remove_csv()
     print("District csv file is downloaded")
     self.data.page_loading(self.driver)
    def test_districtwise_csv(self):
        print("districtwise csv file downloading..")
        b = download_districtwise(self.driver)
        res = b.test_donwload()
        self.assertTrue(res, msg="districtwise file is not downloaded")
        b.remove_csv()

        time.sleep(3)
示例#3
0
 def test_districtwise_csv(self):
     self.tests.pop()
     self.logger.info("test_districtwise_csv" + " " + "Total :" + " " + str(
         self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))
     b = download_districtwise(self.driver)
     res = b.test_donwload()
     self.assertTrue(res, msg="districtwise file is not downloaded")
     b.remove_csv()
     print("District csv file is downloaded")
     self.data.page_loading(self.driver)
     self.logger.info("test_districtwise_csv is completed...")