diff options
-rw-r--r-- | scss/tests/test_files.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scss/tests/test_files.py b/scss/tests/test_files.py index 1972bb4..8a90764 100644 --- a/scss/tests/test_files.py +++ b/scss/tests/test_files.py @@ -14,7 +14,7 @@ import os.path import logging import pytest -from scss import Scss +import scss console = logging.StreamHandler() @@ -35,8 +35,9 @@ def test_pair_programmatic(scss_file_pair): directory, _ = os.path.split(scss_fn) include_dir = os.path.join(directory, 'include') + scss.config.STATIC_ROOT = os.path.join(directory, 'static') - compiler = Scss(scss_opts=dict(compress=0), search_paths=[include_dir]) + compiler = scss.Scss(scss_opts=dict(compress=0), search_paths=[include_dir]) actual = compiler.compile(source) # Normalize leading and trailing newlines |