summaryrefslogtreecommitdiff
path: root/morphlib/morphology_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-10-05 11:10:14 +0100
committerLars Wirzenius <liw@liw.fi>2011-10-05 11:10:14 +0100
commitf637dfc5b56c3ee20639aadab15c622224824542 (patch)
tree9e0310736bf03dfd5aa8267b8c4146ced02c0c57 /morphlib/morphology_tests.py
parentff8eef4abd1de3e50629ddfb84f61a7abc8ed603 (diff)
downloadmorph-f637dfc5b56c3ee20639aadab15c622224824542.tar.gz
Add description field to morphologies and binary metadata.
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'])