Fix TestRemoveBlankTarget.test_no_link

This commit is contained in:
Florian Bruhin 2016-07-28 10:50:14 +02:00
parent 540c62c232
commit ebc72c9b5f

View File

@ -402,7 +402,7 @@ class TestRemoveBlankTarget:
elem = [None] * depth
elem[0] = get_webelem(tagname='div')
for i in range(1, depth):
elem[i] = get_webelem(tagname='div', parent=elem[i-1])
elem[i] = get_webelem(tagname='div', parent=elem[i-1]._elem)
elem[i]._elem.encloseWith(elem[i-1]._elem)
elem[-1].remove_blank_target()
for i in range(depth):