diff options
author | Richard Maw <richard.maw@gmail.com> | 2014-09-10 10:51:28 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@gmail.com> | 2014-09-19 12:43:26 +0000 |
commit | fc35b41a0189eb8a43032247cbe7d3cfadf6ded1 (patch) | |
tree | 3c30887e8679970bada6604b3c3597c465e4bf2b /morphlib/morphologyfactory_tests.py | |
parent | 8a4f4503d6d5238d7a7c30f09f75992b100d8fee (diff) | |
download | morph-fc35b41a0189eb8a43032247cbe7d3cfadf6ded1.tar.gz |
Remove Morphology.builds_artifacts
This was used before the Artifact splitting code landed to determine
which artifacts should be produced.
Diffstat (limited to 'morphlib/morphologyfactory_tests.py')
-rw-r--r-- | morphlib/morphologyfactory_tests.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/morphlib/morphologyfactory_tests.py b/morphlib/morphologyfactory_tests.py index 0b3253da..5692c5f0 100644 --- a/morphlib/morphologyfactory_tests.py +++ b/morphlib/morphologyfactory_tests.py @@ -248,24 +248,6 @@ class MorphologyFactoryTests(unittest.TestCase): self.assertRaises(NotcachedError, self.lmf.get_morphology, 'reponame', 'sha1', 'unreached.morph') - def test_sets_builds_artifacts_for_simple_chunk(self): - morph = self.mf.get_morphology('reponame', 'sha1', 'chunk.morph') - self.assertEqual(morph.builds_artifacts, ['chunk']) - - def test_sets_builds_artifacts_for_split_chunk(self): - morph = self.mf.get_morphology('reponame', 'sha1', 'chunk-split.morph') - self.assertEqual(morph.builds_artifacts, - ['chunk-split-runtime', 'chunk-split-devel']) - - def test_sets_builds_artifacts_for_stratum(self): - morph = self.mf.get_morphology('reponame', 'sha1', 'stratum.morph') - self.assertEqual(morph.builds_artifacts, ['stratum']) - - def test_sets_build_artifacts_for_system(self): - self.lr.arch = 'x86_32' - morph = self.mf.get_morphology('reponame', 'sha1', 'system.morph') - self.assertEqual(morph.builds_artifacts, ['system-rootfs']) - def test_does_not_set_needs_artifact_metadata_cached_for_chunk(self): morph = self.mf.get_morphology('reponame', 'sha1', 'chunk.morph') self.assertEqual(morph.needs_artifact_metadata_cached, False) |