Skip to content

Commit

Permalink
remove the allure reference, ensure things are updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Falešník committed Jun 7, 2017
1 parent 9b4c2ea commit e0a41a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -6,7 +6,7 @@ python:
- '3.5'
- '3.6'
- pypy
install: pip install tox-travis coveralls
install: pip install -U setuptools tox tox-travis coveralls
script:
- tox
after_success:
Expand Down
8 changes: 0 additions & 8 deletions testing/conftest.py
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import allure
import pytest

import codecs
Expand Down Expand Up @@ -38,10 +37,3 @@ def browser(selenium, httpserver, request):
httpserver.serve_content(codecs.open(testfilename, mode='r', encoding='utf-8').read())
selenium.get(httpserver.url)
return CustomBrowser(selenium)


def pytest_exception_interact(node, call, report):
if selenium_browser is not None:
allure.attach(
'Error screenshot', selenium_browser.get_screenshot_as_png(), allure.attach_type.PNG)
allure.attach('Error traceback', str(report.longrepr), allure.attach_type.TEXT)

0 comments on commit e0a41a0

Please sign in to comment.