summaryrefslogtreecommitdiff
path: root/morphlib/localartifactcache_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/localartifactcache_tests.py')
-rw-r--r--morphlib/localartifactcache_tests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/morphlib/localartifactcache_tests.py b/morphlib/localartifactcache_tests.py
index 6283c833..c1055d05 100644
--- a/morphlib/localartifactcache_tests.py
+++ b/morphlib/localartifactcache_tests.py
@@ -43,8 +43,10 @@ class LocalArtifactCacheTests(unittest.TestCase):
include:
- usr/include
''')
- self.source = morphlib.source.Source(
- 'repo', 'ref', 'sha1', 'tree', morph, 'chunk.morph')
+ sources = morphlib.source.make_sources('repo', 'ref',
+ 'chunk.morph', 'sha1',
+ 'tree', morph)
+ self.source, = sources
self.runtime_artifact = morphlib.artifact.Artifact(
self.source, 'chunk-runtime')
self.runtime_artifact.cache_key = '0'*64