summaryrefslogtreecommitdiff
path: root/morphlib/execute_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-09-29 10:58:10 +0100
committerLars Wirzenius <liw@liw.fi>2011-09-29 10:58:10 +0100
commit8e76dabb40404874560b1f32a32b22e41d156598 (patch)
tree30aa5f3f6c74e5d74fdad2dfb8463e02408d8485 /morphlib/execute_tests.py
parent50a948a728a0768907700befe501bb743828b67b (diff)
downloadmorph-8e76dabb40404874560b1f32a32b22e41d156598.tar.gz
Fix ExecuteTests to create Execute class correctly.
The API changed, earlier.
Diffstat (limited to 'morphlib/execute_tests.py')
-rw-r--r--morphlib/execute_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/execute_tests.py b/morphlib/execute_tests.py
index 721d0807..8a9f9bf4 100644
--- a/morphlib/execute_tests.py
+++ b/morphlib/execute_tests.py
@@ -23,7 +23,7 @@ import morphlib
class ExecuteTests(unittest.TestCase):
def setUp(self):
- self.e = morphlib.execute.Execute('/')
+ self.e = morphlib.execute.Execute('/', lambda msg: None)
def test_has_same_path_as_environment(self):
self.assertEqual(self.e.env['PATH'], os.environ['PATH'])