[diffoscope] 03/03: tests/main: disable jquery while testing --htmldir, so tests can run without it
Mattia Rizzolo
mattia at debian.org
Mon Jan 16 16:18:51 CET 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository diffoscope.
commit 2ea676bc15f573bc14f50edf56bd82320d4502be
Author: Mattia Rizzolo <mattia at debian.org>
Date: Mon Jan 16 16:18:05 2017 +0100
tests/main: disable jquery while testing --htmldir, so tests can run without it
---
tests/test_main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_main.py b/tests/test_main.py
index 8bc09a7..5431f77 100644
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -139,7 +139,7 @@ def test_html_option_with_file(tmpdir, capsys):
def test_htmldir_option(tmpdir, capsys):
html_dir = os.path.join(str(tmpdir), 'target')
- args = ['--html-dir', html_dir, *TEST_TARS]
+ args = ['--html-dir', html_dir, '--jquery', 'disable', *TEST_TARS]
with pytest.raises(SystemExit) as excinfo:
main(args)
assert excinfo.value.code == 1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list