def test_link_comment_is_correct(self): home = Home(self.driver) home.open() self.assertEqual( home.link_comments.get('text'), home.link_comment(), 'expected comment to be: %s found %s instead' % (home.link_comments.get('text'), home.link_comment()))
def test_link_comment_is_correct(self): home = Home(self.driver) home.open() self.assertEqual(home.link_comments.get('text'), home.link_comment(), 'expected comment to be: %s found %s instead'%(home.link_comments.get('text'), home.link_comment()))