Uploaded image for project: 'Nuxeo Python Client'
  1. Nuxeo Python Client
  2. NXPY-82

Fix test_convert_xpath()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.5
    • Component/s: None

      Description

        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'
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.