diff options
Diffstat (limited to 'morphlib/morphologyfactory_tests.py')
-rw-r--r-- | morphlib/morphologyfactory_tests.py | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/morphlib/morphologyfactory_tests.py b/morphlib/morphologyfactory_tests.py index 0b3253da..52d5f598 100644 --- a/morphlib/morphologyfactory_tests.py +++ b/morphlib/morphologyfactory_tests.py @@ -248,37 +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) - - def test_sets_artifact_metadata_cached_for_stratum(self): - morph = self.mf.get_morphology('reponame', 'sha1', 'stratum.morph') - self.assertEqual(morph.needs_artifact_metadata_cached, True) - - def test_does_not_set_artifact_metadata_cached_for_system(self): - morph = self.mf.get_morphology('reponame', 'sha1', 'system.morph') - self.assertEqual(morph.needs_artifact_metadata_cached, False) - - def test_arch_is_validated(self): self.lr.arch = 'unknown' self.assertRaises(morphlib.Error, self.mf.get_morphology, |