diff options
Diffstat (limited to 'morphlib/builder2_tests.py')
-rw-r--r-- | morphlib/builder2_tests.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/morphlib/builder2_tests.py b/morphlib/builder2_tests.py index c0da3cd9..d0d56b17 100644 --- a/morphlib/builder2_tests.py +++ b/morphlib/builder2_tests.py @@ -253,21 +253,3 @@ class ChunkBuilderTests(unittest.TestCase): self.app = FakeApp() self.build = morphlib.builder2.ChunkBuilder(self.app, None, None, None, None, None, 1, False) - - def test_uses_morphology_commands_when_given(self): - m = {'build-commands': ['build-it']} - bs = FakeBuildSystem() - cmds = self.build.get_commands('build-commands', m, bs) - self.assertEqual(cmds, ['build-it']) - - def test_uses_build_system_commands_when_morphology_doesnt(self): - m = {'build-commands': None} - bs = FakeBuildSystem() - cmds = self.build.get_commands('build-commands', m, bs) - self.assertEqual(cmds, ['buildsys-it']) - - def test_uses_morphology_commands_when_morphology_has_empty_list(self): - m = {'build-commands': []} - bs = FakeBuildSystem() - cmds = self.build.get_commands('build-commands', m, bs) - self.assertEqual(cmds, []) |