From 2319fc40b78f451527f37692934fa27189ad0d96 Mon Sep 17 00:00:00 2001 From: Karan Desai Date: Fri, 19 Aug 2016 14:03:37 +0530 Subject: [PATCH] Update dependency pytest-html==1.10.0 --- conda-requirements | 2 +- tardis/tests/integration_tests/report.py | 5 +++-- tardis_env27.yml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/conda-requirements b/conda-requirements index 255b045d6ff..d949ece5bd8 100644 --- a/conda-requirements +++ b/conda-requirements @@ -11,4 +11,4 @@ numexpr==2.4.4 Cython==0.21 networkx==1.10 pytest==2.6.3 -pytest-html==1.9.0 +pytest-html==1.10.0 diff --git a/tardis/tests/integration_tests/report.py b/tardis/tests/integration_tests/report.py index b1edef8cc88..ce3d025098b 100644 --- a/tardis/tests/integration_tests/report.py +++ b/tardis/tests/integration_tests/report.py @@ -54,8 +54,9 @@ def __init__(self, dokuwiki_details): """ # Base class accepts a file path to save the report, but we pass an # empty string and then delete it anyhow. - super(DokuReport, self).__init__(" ") - del self.logfile + super(DokuReport, self).__init__( + logfile=" ", self_contained=True, has_rerun=False + ) try: self.doku_conn = dokuwiki.DokuWiki( diff --git a/tardis_env27.yml b/tardis_env27.yml index 2d0b6f5dc66..7efcd2aed71 100644 --- a/tardis_env27.yml +++ b/tardis_env27.yml @@ -34,4 +34,4 @@ dependencies: - sphinxcontrib-bibtex - sphinxcontrib-tikz - coveralls - - pytest-html==1.9.0 + - pytest-html==1.10.0