summaryrefslogtreecommitdiff
path: root/morphlib/morphology_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-12-12 16:59:58 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-12-12 16:59:58 +0000
commit410c58c37931f17fd68c1a6fafa192b56ae3e978 (patch)
tree9bdd8e12bc3e2c29753cdf3977a5f4af61ced3a4 /morphlib/morphology_tests.py
parentc79dced23c76eb18a03a2ca0daff63426da07e08 (diff)
downloadmorph-410c58c37931f17fd68c1a6fafa192b56ae3e978.tar.gz
add test_stories attribute to Morphology
Diffstat (limited to 'morphlib/morphology_tests.py')
-rw-r--r--morphlib/morphology_tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/morphlib/morphology_tests.py b/morphlib/morphology_tests.py
index 9a8517e1..0119ebc6 100644
--- a/morphlib/morphology_tests.py
+++ b/morphlib/morphology_tests.py
@@ -129,11 +129,16 @@ class MorphologyTests(unittest.TestCase):
"strata": [
"foo",
"bar"
+ ],
+ "test-stories": [
+ "test-1",
+ "test-2"
]
}'''))
self.assertEqual(morph.kind, 'system')
self.assertEqual(morph.disk_size, '1G')
self.assertEqual(morph.strata, ['foo', 'bar'])
+ self.assertEqual(morph.test_stories, ['test-1', 'test-2'])
class StratumRepoTests(unittest.TestCase):