def test_display_of_station_module(self): moduleTitle = test_station_module_cms.title subhead = test_station_module_cms.subhead link = test_station_module_cms.link imageLink = test_station_module_cms.imageLink homePage = HomePageSS(self.driver, self.wait) self.assertTrue(homePage.station_module_exists_by_title(moduleTitle), "Module title is not the one set in CMS") self.assertEqual(homePage.get_stat_mod_subhead().text, subhead, "Subhead text is not the one set in CMS") self.assertTrue(link in homePage.get_stat_mod_subhead().get_attribute("href"), "Link is not the one set in CMS") self.assertEqual(homePage.get_stat_mod_image(), imageLink, "Displayed image is not the one defined in CMS")