Ejemplo n.º 1
0
 def test_blockwise_csv_download(self):
     csv = BlockwiseCsv(self.driver, self.year, self.month)
     result = csv.click_download_icon_of_blocks()
     if result:
         print("Block wise csv report download is working")
         csv.remove_csv()
     else:
         raise self.failureException("Block wise csv report download is not working")
    def test_blockwise_csv_download(self):
        self.tests.pop()
        self.logger.info("test_blockwise_csv_download is running" + " " + "Total :" + " " + str(
            self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))

        csv = BlockwiseCsv(self.driver, self.year, self.month)
        result = csv.click_download_icon_of_blocks()
        if result:
            print("Block wise csv report download is working")
            csv.remove_csv()
        else:
            raise self.failureException("Block wise csv report download is not working")

        self.logger.info("test_blockwise_csv_download is completed...")