diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-12-10 10:55:15 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2016-03-24 23:54:00 +0000 |
commit | a79f3db81681a6be16afb041f3ed7ca5ff0521d9 (patch) | |
tree | ec3b6d32dbe4f4ae6b7075c6a88def55a319081f /morphlib/remoteartifactcache_tests.py | |
parent | 23b363c55c755f648ae38b61f09253860bfc61d3 (diff) | |
download | morph-a79f3db81681a6be16afb041f3ed7ca5ff0521d9.tar.gz |
Unify styles used to define test morphs
Change-Id: I862b1af3d01b28ed35b1194567c1cec7b075a5b4
Diffstat (limited to 'morphlib/remoteartifactcache_tests.py')
-rw-r--r-- | morphlib/remoteartifactcache_tests.py | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/morphlib/remoteartifactcache_tests.py b/morphlib/remoteartifactcache_tests.py index 571f1d61..df9402b1 100644 --- a/morphlib/remoteartifactcache_tests.py +++ b/morphlib/remoteartifactcache_tests.py @@ -25,24 +25,23 @@ class RemoteArtifactCacheTests(unittest.TestCase): def setUp(self): schemas = morphlib.util.read_schemas() loader = morphlib.morphloader.MorphologyLoader(schemas=schemas) - morph = loader.load_from_string( - ''' - name: chunk - kind: chunk - products: - - artifact: chunk-runtime - include: - - usr/bin - - usr/sbin - - usr/lib - - usr/libexec - - artifact: chunk-devel - include: - - usr/include - - artifact: chunk-doc - include: - - usr/share/doc - ''') + morph = loader.load_from_string(''' + name: chunk + kind: chunk + products: + - artifact: chunk-runtime + include: + - usr/bin + - usr/sbin + - usr/lib + - usr/libexec + - artifact: chunk-devel + include: + - usr/include + - artifact: chunk-doc + include: + - usr/share/doc + ''') sources = morphlib.source.make_sources('repo', 'original/ref', 'chunk.morph', 'sha1', 'tree', morph) |