Example #1
0
 def test_no_of_schools(self):
     print("check with no of school values ")
     b = Block_school_count(self.driver)
     r, r1, r2, r3 = b.test_counter()
     self.assertEqual(int(r), int(r1), msg="mis match found in no of school in block level")
     self.assertEqual(int(r), int(r2), msg="mis match found in no of school in cluster level")
     self.assertEqual(int(r), int(r3), msg="mis match found in no of school in school level")
     self.data.page_loading(self.driver)
Example #2
0
 def test_no_of_schools(self):
     self.tests.pop()
     self.logger.info("test_no_of_schools" + " " + "Total :" + " " + str(
         self.total_tests) + " " + "Remaining :" + " " + str(len(self.tests) - 1))
     print("check with no of school values ")
     b = Block_school_count(self.driver)
     r, r1, r2, r3 = b.test_counter()
     self.assertEqual(int(r), int(r1), msg="mis match found in no of school in block level")
     self.assertEqual(int(r), int(r2), msg="mis match found in no of school in cluster level")
     self.assertEqual(int(r), int(r3), msg="mis match found in no of school in school level")
     self.data.page_loading(self.driver)
     self.logger.info("test_no_of_schools is completed...")
 def test_no_of_schools(self):
     b = Block_school_count(self.driver)
     r, r1, r2, r3 = b.test_counter()
     self.assertEqual(int(r),
                      int(r1),
                      msg="mis match found in no of school in block level")
     self.assertEqual(
         int(r),
         int(r2),
         msg="mis match found in no of school in cluster level")
     self.assertEqual(int(r),
                      int(r3),
                      msg="mis match found in no of school in school level")
 def test_no_of_schools(self):
     b = Block_school_count(self.driver)
     r, r1, r2, r3 = b.test_counter()
     self.assertEqual(int(r),
                      int(r1),
                      msg="mis match found in no of school in block level")
     self.assertEqual(
         int(r),
         int(r2),
         msg="mis match found in no of school in cluster level")
     self.assertEqual(int(r),
                      int(r3),
                      msg="mis match found in no of school in school level")
     self.data.page_loading(self.driver)
     print(
         "compare no of schools footer values with downloaded csv values count is matching or not"
     )