summaryrefslogtreecommitdiff
path: root/morphlib/morphology_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/morphology_tests.py')
-rw-r--r--morphlib/morphology_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/morphlib/morphology_tests.py b/morphlib/morphology_tests.py
index 243fd89f..a634937a 100644
--- a/morphlib/morphology_tests.py
+++ b/morphlib/morphology_tests.py
@@ -36,6 +36,7 @@ class MorphologyTests(unittest.TestCase):
{
"name": "hello",
"kind": "chunk",
+ "description": "desc",
"configure-commands": ["./configure"],
"build-commands": ["make"],
"test-commands": ["make check"],
@@ -43,6 +44,7 @@ class MorphologyTests(unittest.TestCase):
}'''))
self.assertEqual(morph.name, 'hello')
self.assertEqual(morph.kind, 'chunk')
+ self.assertEqual(morph.description, 'desc')
self.assertEqual(morph.filename, 'mockfile')
self.assertEqual(morph.configure_commands, ['./configure'])
self.assertEqual(morph.build_commands, ['make'])