Mercurial > hgsubversion
changeset 285:913fd8aa221c
Rename parentui to src (after mercurial rev 9b8ac5fb7760)
Just pass in src to real_ui as a positional argument to avoid the problem in
the future.
author | Martijn Pieters <mj@zopatista.com> |
---|---|
date | Mon, 27 Apr 2009 09:39:39 -0500 |
parents | f8f9a2993705 |
children | 552deb1351ce |
files | tests/test_util.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test_util.py +++ b/tests/test_util.py @@ -73,9 +73,9 @@ def rmtree(path): class MockUI(object): real_ui = ui.ui _isatty = False - def __init__(self, parentui=None): + def __init__(self, src=None): self.stream = StringIO.StringIO() - self.inner_ui = self.real_ui(parentui=parentui) + self.inner_ui = self.real_ui(src) def status(self, *args): self.stream.write(''.join(args))