| Index: tests/checkout_test.py
|
| diff --git a/tests/checkout_test.py b/tests/checkout_test.py
|
| index 59a3f529a6404f3839f48dff0bf17a714fa6b2eb..4ea73a06eb6c1ec67a7aa827c6de6e632555287d 100755
|
| --- a/tests/checkout_test.py
|
| +++ b/tests/checkout_test.py
|
| @@ -236,10 +236,11 @@ class BaseTest(fake_repos.FakeReposTestBase):
|
|
|
| def _test_process(self, co):
|
| """Makes sure the process lambda is called correctly."""
|
| + co.post_processors = [lambda *args: results.append(args)]
|
| co.prepare()
|
| ps = self.get_patches()
|
| results = []
|
| - co.apply_patch(ps, [lambda *args: results.append(args)])
|
| + co.apply_patch(ps)
|
| expected = [(co, p) for p in ps.patches]
|
| self.assertEquals(expected, results)
|
|
|
| @@ -479,7 +480,7 @@ class RawCheckout(SvnBaseTest):
|
| self.base_co.prepare()
|
|
|
| def _get_co(self, read_only):
|
| - co = checkout.RawCheckout(self.root_dir, self.name)
|
| + co = checkout.RawCheckout(self.root_dir, self.name, None)
|
| if read_only:
|
| return checkout.ReadOnlyCheckout(co)
|
| return co
|
|
|