From a832e35d389d9d826d397324a344cee1301dba08 Mon Sep 17 00:00:00 2001 From: Glandos Date: Mon, 19 Feb 2018 22:21:27 +0100 Subject: [PATCH] speed up tests by using original media. We don't care about media processing here. --- tests/test_compress_assets_plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_compress_assets_plugin.py b/tests/test_compress_assets_plugin.py index 256be6a..683e914 100644 --- a/tests/test_compress_assets_plugin.py +++ b/tests/test_compress_assets_plugin.py @@ -12,6 +12,8 @@ CURRENT_DIR = os.path.dirname(__file__) def make_gallery(settings, tmpdir, method): settings['destination'] = str(tmpdir) + # Really speed up testing + settings['use_orig'] = True if "sigal.plugins.compress_assets" not in settings["plugins"]: settings['plugins'] += ["sigal.plugins.compress_assets"]