summaryrefslogtreecommitdiff
path: root/morphlib/builder2_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-04-25 14:09:22 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-04-25 14:09:22 +0100
commit81f6b5b9c602a414e5f1ccbaf68b50bc8d5d90fd (patch)
tree8931b0d6db37ea686c43a2203f72cf38938865b1 /morphlib/builder2_tests.py
parent1568eef4a14c8f806268c1b16d646c2e32f5a72e (diff)
downloadmorph-81f6b5b9c602a414e5f1ccbaf68b50bc8d5d90fd.tar.gz
Fix unit testsw for builder2
From Richard Maw, I'm just applying the patch. Having trouble with the git server so can't do this via it.
Diffstat (limited to 'morphlib/builder2_tests.py')
-rw-r--r--morphlib/builder2_tests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/morphlib/builder2_tests.py b/morphlib/builder2_tests.py
index 67379341..8c08c551 100644
--- a/morphlib/builder2_tests.py
+++ b/morphlib/builder2_tests.py
@@ -142,7 +142,8 @@ class BuilderBaseTests(unittest.TestCase):
self.artifact,
self.repo_cache,
self.build_env,
- self.max_jobs)
+ self.max_jobs,
+ False)
def test_returns_an_artifact(self):
artifact = self.builder.new_artifact('le-artifact')
@@ -205,7 +206,7 @@ class ChunkBuilderTests(unittest.TestCase):
def setUp(self):
self.build = morphlib.builder2.ChunkBuilder(None, None, None, None,
- None, 1)
+ None, 1, False)
def test_uses_morphology_commands_when_given(self):
m = { 'build-commands': ['build-it'] }