I want to assert all ids in the list with for loop, my code is not working:
list = ["'block-views-news_of_the_day-block_1'", "'views_slideshow_singleframe_main_carousal_new_block-block_1-2'",
"'block-views-recent_contents-block_1'","'block-views-recent_contents-block_2'","'block-views-home_page_events-block_1'",
"'const-cont-home","block-block-13'", "'block-block-58'"]
for x in list:
self.assertTrue(self.driver.find_element_by_id(x))