response = <Responsetatus=200 body={"value": {"y": 450, "x": 100, "height": 0, "width": 668}}>, value = {'height': 668, 'width': 924, 'x': 100, 'y': 450} def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ assert response.status == 200, str(response.error) if value is not None: > assert response.body["value"] == value E AssertionError response = <Responsetatus=200 body={"value": {"y": 450, "x": 100, "height": 0, "width": 668}}> value = {'height': 668, 'width': 924, 'x': 100, 'y': 450}
*** This bug has been marked as a duplicate of bug 181728 ***