tests/subfiles.py

changeset 145
fde18c4d6784
parent 111
cfa961e5e578
--- a/tests/subfiles.py	Fri Sep 18 21:57:36 2020 +0300
+++ b/tests/subfiles.py	Fri Sep 18 23:51:45 2020 +0300
@@ -162,7 +162,7 @@
         Checks whether flat subfiles are scaled in the flat direction.
     '''
     import filecache
-    cache = filecache.SubfileCache(model.ldraw_directories)
+    cache = filecache.SubfileCache(context = model.context)
     if model.header.valid:
         cache.reference_stack.append(model.header.name)
     failed_subfiles = set()

mercurial