summaryrefslogtreecommitdiff
path: root/morphlib/cachekeycomputer_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/cachekeycomputer_tests.py')
-rw-r--r--morphlib/cachekeycomputer_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/cachekeycomputer_tests.py b/morphlib/cachekeycomputer_tests.py
index 7ace9c36..7077a313 100644
--- a/morphlib/cachekeycomputer_tests.py
+++ b/morphlib/cachekeycomputer_tests.py
@@ -91,7 +91,7 @@ class CacheKeyComputerTests(unittest.TestCase):
}''',
}.iteritems():
source = morphlib.source.Source(
- 'repo', 'original/ref', 'sha',
+ 'repo', 'original/ref', 'sha', 'tree',
morphlib.morph2.Morphology(text), name)
self.source_pool.add(source)
# FIXME: This should use MorphologyFactory
@@ -171,7 +171,7 @@ class CacheKeyComputerTests(unittest.TestCase):
old_artifact = self._find_artifact('system-rootfs')
morphology = old_artifact.source.morphology
new_source = morphlib.source.Source('repo', 'original/ref', 'newsha',
- morphology,
+ 'tree', morphology,
old_artifact.source.filename)
self.source_pool.add(new_source)
artifacts = self.artifact_resolver.resolve_artifacts(self.source_pool)