aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index c3ec798dc..2c8f2c03e 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -1659,10 +1659,10 @@ Line 1
html = self.GET_ELEMENTS_BY_CLASS_TEST_STRING
self.assertEqual(
- get_elements_text_and_html_by_attribute('class', 'foo bar', html),
+ list(get_elements_text_and_html_by_attribute('class', 'foo bar', html)),
list(zip(['nice', 'also nice'], self.GET_ELEMENTS_BY_CLASS_RES)))
- self.assertEqual(get_elements_text_and_html_by_attribute('class', 'foo', html), [])
- self.assertEqual(get_elements_text_and_html_by_attribute('class', 'no-such-foo', html), [])
+ self.assertEqual(list(get_elements_text_and_html_by_attribute('class', 'foo', html)), [])
+ self.assertEqual(list(get_elements_text_and_html_by_attribute('class', 'no-such-foo', html)), [])
GET_ELEMENT_BY_TAG_TEST_STRING = '''
random text lorem ipsum</p>