summaryrefslogtreecommitdiff
path: root/morphlib/cachekeycomputer_tests.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-09-10 10:51:28 +0000
committerRichard Maw <richard.maw@gmail.com>2014-09-19 12:43:26 +0000
commitfc35b41a0189eb8a43032247cbe7d3cfadf6ded1 (patch)
tree3c30887e8679970bada6604b3c3597c465e4bf2b /morphlib/cachekeycomputer_tests.py
parent8a4f4503d6d5238d7a7c30f09f75992b100d8fee (diff)
downloadmorph-fc35b41a0189eb8a43032247cbe7d3cfadf6ded1.tar.gz
Remove Morphology.builds_artifacts
This was used before the Artifact splitting code landed to determine which artifacts should be produced.
Diffstat (limited to 'morphlib/cachekeycomputer_tests.py')
-rw-r--r--morphlib/cachekeycomputer_tests.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/morphlib/cachekeycomputer_tests.py b/morphlib/cachekeycomputer_tests.py
index 8558db6d..441f6123 100644
--- a/morphlib/cachekeycomputer_tests.py
+++ b/morphlib/cachekeycomputer_tests.py
@@ -89,12 +89,6 @@ class CacheKeyComputerTests(unittest.TestCase):
self.source_pool.add(source)
# FIXME: This should use MorphologyFactory
m = source.morphology
- if m['kind'] == 'system':
- m.builds_artifacts = [m['name'] + '-rootfs']
- elif m['kind'] == 'stratum':
- m.builds_artifacts = [m['name']]
- elif m['kind'] == 'chunk':
- m.builds_artifacts = [m['name']]
self.build_env = DummyBuildEnvironment({
"LOGNAME": "foouser",
"MORPH_ARCH": "dummy",