summaryrefslogtreecommitdiff
path: root/morphlib/source_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/source_tests.py')
-rw-r--r--morphlib/source_tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/morphlib/source_tests.py b/morphlib/source_tests.py
index 4f6006e9..6bf09806 100644
--- a/morphlib/source_tests.py
+++ b/morphlib/source_tests.py
@@ -30,7 +30,9 @@ class SourceTests(unittest.TestCase):
self.original_ref = 'original/ref'
self.sha1 = 'CAFEF00D'
self.tree = 'F000000D'
- loader = morphlib.morphloader.MorphologyLoader()
+
+ schemas = morphlib.util.read_schemas()
+ loader = morphlib.morphloader.MorphologyLoader(schemas=schemas)
self.morphology = loader.load_from_string(self.morphology_text)
self.filename = 'foo.morph'
self.source, = morphlib.source.make_sources(self.repo_name,