-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.4
-
Fix Version/s: 2.0.5
-
Component/s: None
-
Tags:
-
Sprint:nxDrive 11.1.1
-
Story Points:0
def test_convert_xpath(server): with Doc(server, with_blob=True) as doc: try: res = doc.convert({'xpath': 'file:content', 'type': 'text/html'}) > assert b'<html>' in res E assert b'<html>' in b'<!DOCTYPE html>\n<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">\n<head>\n<title>/opt/nuxeo/server/t...>\n<p style="position:absolute;top:85px;left:85px;white-space:nowrap" class="ft00">foo</p>\n</div>\n</body>\n</html>\n'