Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch randomly failing tests #1

Open
AltarBeastiful opened this issue Mar 9, 2017 · 0 comments
Open

Patch randomly failing tests #1

AltarBeastiful opened this issue Mar 9, 2017 · 0 comments

Comments

@AltarBeastiful
Copy link
Owner

======================================================================
ERROR: test_add_episode_serie_not_yet_added (tests.senscritique.test_list_service.TestListService)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/AltarBeastiful/rateItSeven/tests/senscritique/test_list_service.py", line 105, in test_add_episode_serie_not_yet_added
    response = service.add_episode(sclist=sc_list, product_id="444509", description="S04E01")
  File "/home/travis/build/AltarBeastiful/rateItSeven/rateItSeven/senscritique/list_service.py", line 94, in add_episode
    list_item = self.find_list_item(sclist=sclist, product_id=product_id)
  File "/home/travis/build/AltarBeastiful/rateItSeven/rateItSeven/senscritique/list_service.py", line 114, in find_list_item
    item_container = html.fromstring(response.content).xpath(xpath_item_container)
  File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/lxml/html/__init__.py", line 876, in fromstring
    doc = document_fromstring(html, parser=parser, base_url=base_url, **kw)
  File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/lxml/html/__init__.py", line 762, in document_fromstring
    value = etree.fromstring(html, parser, **kw)
  File "src/lxml/lxml.etree.pyx", line 3213, in lxml.etree.fromstring (src/lxml/lxml.etree.c:79010)
  File "src/lxml/parser.pxi", line 1848, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:118341)
  File "src/lxml/parser.pxi", line 1736, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:117021)
  File "src/lxml/parser.pxi", line 1102, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:111265)
  File "src/lxml/parser.pxi", line 595, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:105109)
  File "src/lxml/parser.pxi", line 706, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:106817)
  File "src/lxml/parser.pxi", line 644, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:105874)
  File "<string>", line 964
lxml.etree.XMLSyntaxError: line 964: b'Tag footer invalid'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant