def test_get_elements_by_class(self):
    html = self.GET_ELEMENTS_BY_CLASS_TEST_STRING
    self.assertEqual(get_elements_by_class('foo', html), ['nice', 'also nice'])
    self.assertEqual(get_elements_by_class('no-such-class', html), [])
def test_get_elements_by_class(self):
    html = self.GET_ELEMENTS_BY_CLASS_TEST_STRING
    self.assertEqual(get_elements_by_class('foo', html), ['nice', 'also nice'])
    self.assertEqual(get_elements_by_class('no-such-class', html), [])