Commit 910f08b0 by Damien Nozay

fix unit test w.r.t FeatureLoader and root_dir

parent 68e82e83
...@@ -181,7 +181,7 @@ def test_after_each_all_is_executed_before_each_all(): ...@@ -181,7 +181,7 @@ def test_after_each_all_is_executed_before_each_all():
mox.StubOutWithMock(lettuce.fs, 'FileSystem') mox.StubOutWithMock(lettuce.fs, 'FileSystem')
mox.StubOutWithMock(lettuce, 'Feature') mox.StubOutWithMock(lettuce, 'Feature')
lettuce.fs.FeatureLoader('some_basepath').AndReturn(loader_mock) lettuce.fs.FeatureLoader('some_basepath', None).AndReturn(loader_mock)
lettuce.sys.path.insert(0, 'some_basepath') lettuce.sys.path.insert(0, 'some_basepath')
lettuce.sys.path.remove('some_basepath') lettuce.sys.path.remove('some_basepath')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment