summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-07-03 13:49:12 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-07-03 17:59:14 +0000
commitd7fec3d5cc5e18a7a68acdb4c7676ed1fb7304c9 (patch)
tree14be385f41a778432a476898467e561afbf54d21
parent966a00afa89f35c0d19c32549c69b059bf5c533f (diff)
downloadmorph-d7fec3d5cc5e18a7a68acdb4c7676ed1fb7304c9.tar.gz
unittests: Test that the description field is ignored for chunks
-rw-r--r--morphlib/cachekeycomputer_tests.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/morphlib/cachekeycomputer_tests.py b/morphlib/cachekeycomputer_tests.py
index dd10307f..9e18b19d 100644
--- a/morphlib/cachekeycomputer_tests.py
+++ b/morphlib/cachekeycomputer_tests.py
@@ -36,15 +36,18 @@ class CacheKeyComputerTests(unittest.TestCase):
for name, text in {
'chunk.morph': '''{
"name": "chunk",
- "kind": "chunk"
+ "kind": "chunk",
+ "description": "A test chunk"
}''',
'chunk2.morph': '''{
"name": "chunk2",
- "kind": "chunk"
+ "kind": "chunk",
+ "description": "A test chunk"
}''',
'chunk3.morph': '''{
"name": "chunk3",
- "kind": "chunk"
+ "kind": "chunk",
+ "description": "A test chunk"
}''',
'stratum.morph': '''{
"name": "stratum",