diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-08-28 17:20:04 +0100 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-08-30 11:19:01 +0000 |
commit | 2a071ef057c953e81e1b8bd9b714373b4dbb26c2 (patch) | |
tree | bffd06cb8a9d0c825cdc2274b7b4c55adc07def6 /morphlib/cachekeycomputer_tests.py | |
parent | ecefb2d1936221ccf21cbad6db2fe73cd229f4f5 (diff) | |
download | morph-2a071ef057c953e81e1b8bd9b714373b4dbb26c2.tar.gz |
Strata should be referred to with full repo/ref/morph triplets
This removes the requirement that all strata must be in the same
repo as the system morphology.
Both the system "strata" field and the stratum "build-depends" field
are affected.
Diffstat (limited to 'morphlib/cachekeycomputer_tests.py')
-rw-r--r-- | morphlib/cachekeycomputer_tests.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/morphlib/cachekeycomputer_tests.py b/morphlib/cachekeycomputer_tests.py index 24cc636d..7ace9c36 100644 --- a/morphlib/cachekeycomputer_tests.py +++ b/morphlib/cachekeycomputer_tests.py @@ -77,8 +77,16 @@ class CacheKeyComputerTests(unittest.TestCase): "name": "system", "kind": "system", "strata": [ - "stratum", - "stratum2" + { + "morph": "stratum", + "repo": "repo", + "ref": "original/ref" + }, + { + "morph": "stratum2", + "repo": "repo", + "ref": "original/ref" + } ] }''', }.iteritems(): |