diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-10-05 12:19:48 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-10-05 12:19:48 +0100 |
commit | 497c85d6930df0bc179403f02de1a36ded705f1c (patch) | |
tree | 5023f2630ae810cd75bc53c0cd5613a91a8e7b7d /morphlib/morphology_tests.py | |
parent | c25c7fae299b7ac8fc2e92f4214272aaf3de336b (diff) | |
download | morph-497c85d6930df0bc179403f02de1a36ded705f1c.tar.gz |
Add disk_size attribute to morphologies.
Diffstat (limited to 'morphlib/morphology_tests.py')
-rw-r--r-- | morphlib/morphology_tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/morphlib/morphology_tests.py b/morphlib/morphology_tests.py index a634937a..145cb944 100644 --- a/morphlib/morphology_tests.py +++ b/morphlib/morphology_tests.py @@ -78,12 +78,14 @@ class MorphologyTests(unittest.TestCase): { "name": "hello", "kind": "system", + "disk-size": "1G", "strata": [ "foo", "bar" ] }''')) self.assertEqual(morph.kind, 'system') + self.assertEqual(morph.disk_size, '1G') self.assertEqual(morph.strata, ['foo', 'bar']) |