Fix test_passed_geometry

This commit is contained in:
Florian Bruhin 2016-07-28 10:50:49 +02:00
parent ebc72c9b5f
commit 8d7baea9ae

View File

@ -675,7 +675,7 @@ class TestRectOnView:
elem = get_webelem(frame=frame, js_rect_return=js_rect)
rect = QRect(10, 20, 30, 40)
assert elem.rect_on_view(elem_geometry=rect) == rect
assert not raw_elem.geometry.called
assert not elem._elem.geometry.called
@pytest.mark.parametrize('js_rect', [None, {}])
@pytest.mark.parametrize('zoom_text_only', [True, False])