summaryrefslogtreecommitdiff
path: root/scss/tests/test_files.py
diff options
context:
space:
mode:
Diffstat (limited to 'scss/tests/test_files.py')
-rw-r--r--scss/tests/test_files.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/scss/tests/test_files.py b/scss/tests/test_files.py
index 882a027..04e15a3 100644
--- a/scss/tests/test_files.py
+++ b/scss/tests/test_files.py
@@ -22,16 +22,10 @@ logger = logging.getLogger('scss')
logger.setLevel(logging.ERROR)
logger.addHandler(console)
-HERE = os.path.join(os.path.split(__file__)[0], 'files')
+def test_pair_programmatic(scss_file_pair):
+ scss_fn, css_fn = scss_file_pair
-@pytest.mark.parametrize(
- ('scss_fn', 'css_fn'), [
- (scss_fn, os.path.splitext(scss_fn)[0] + '.css')
- for scss_fn in glob.glob(os.path.join(HERE, '*/*.scss'))
- ]
-)
-def test_pair(scss_fn, css_fn):
with open(scss_fn) as fh:
source = fh.read()
with open(css_fn) as fh: