summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-09-11 13:00:50 +0000
committerRichard Maw <richard.maw@gmail.com>2014-09-17 15:51:10 +0000
commit4d38f6189114367014794619ef1fcb79e984c484 (patch)
treea5b91ef12812332b3e207c593f20953322298539
parent8dca2062fab6f9e5681db07c24160b94c6cbc28f (diff)
downloadmorph-4d38f6189114367014794619ef1fcb79e984c484.tar.gz
Make remoteartifactcache tests define sensible artifacts
It rather peculiarly defines artifacts that have different cache keys, but the same source. This flies in the face of how real artifacts get cache keys, and our ability to move the cache key to being per-source.
-rw-r--r--morphlib/remoteartifactcache_tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/morphlib/remoteartifactcache_tests.py b/morphlib/remoteartifactcache_tests.py
index ca959ebf..3ee181ee 100644
--- a/morphlib/remoteartifactcache_tests.py
+++ b/morphlib/remoteartifactcache_tests.py
@@ -47,13 +47,13 @@ class RemoteArtifactCacheTests(unittest.TestCase):
'repo', 'ref', 'sha1', 'tree', morph, 'chunk.morph')
self.runtime_artifact = morphlib.artifact.Artifact(
self.source, 'chunk-runtime')
- self.runtime_artifact.cache_key = 'CHUNK-RUNTIME'
+ self.runtime_artifact.cache_key = 'CHUNK'
self.devel_artifact = morphlib.artifact.Artifact(
self.source, 'chunk-devel')
- self.devel_artifact.cache_key = 'CHUNK-DEVEL'
+ self.devel_artifact.cache_key = 'CHUNK'
self.doc_artifact = morphlib.artifact.Artifact(
self.source, 'chunk-doc')
- self.doc_artifact.cache_key = 'CHUNK-DOC'
+ self.doc_artifact.cache_key = 'CHUNK'
self.existing_files = set([
self.runtime_artifact.basename(),