diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-08-08 10:20:25 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-08-14 13:28:50 +0000 |
commit | 39a0ad8d31d6a39bfa607187b1d76478ccbe2513 (patch) | |
tree | e343a0920dfa76d47c8da96a284312e57627a1a3 /morphlib/morphologyfactory_tests.py | |
parent | 4984492dc11888ae35452c437d666cb64dce1a87 (diff) | |
download | morph-39a0ad8d31d6a39bfa607187b1d76478ccbe2513.tar.gz |
buildsystem: Generate a Morphology not text
Rather than generating the text of a morphology which is later loaded,
generate a Morphology object and return that.
Diffstat (limited to 'morphlib/morphologyfactory_tests.py')
-rw-r--r-- | morphlib/morphologyfactory_tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/morphlib/morphologyfactory_tests.py b/morphlib/morphologyfactory_tests.py index 347d93f7..0b3253da 100644 --- a/morphlib/morphologyfactory_tests.py +++ b/morphlib/morphologyfactory_tests.py @@ -30,7 +30,7 @@ class FakeRemoteRepoCache(object): return '''{ "name": "%s", "kind": "chunk", - "build-system": "bar" + "build-system": "dummy" }''' % filename[:-len('.morph')] return 'text' @@ -43,12 +43,12 @@ class FakeLocalRepo(object): 'chunk.morph': ''' name: chunk kind: chunk - build-system: bar + build-system: dummy ''', 'chunk-split.morph': ''' name: chunk-split kind: chunk - build-system: bar + build-system: dummy products: - artifact: chunk-split-runtime include: [] @@ -125,7 +125,7 @@ class FakeLocalRepo(object): return '''{ "name": "%s", "kind": "chunk", - "build-system": "bar" + "build-system": "dummy" }''' % filename[:-len('.morph')] return 'text' |