Mercurial > hgsubversion
changeset 516:f089f46729ee
tests: make better use of the config options for fixture loading
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Thu, 17 Dec 2009 14:44:07 +0100 |
parents | 9fadbf0686a1 |
children | ef288fb7f2fe |
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 @@ -115,9 +115,9 @@ def load_fixture_and_fetch(fixture_name, confvars = locals() def conf(): + _ui = ui.ui() for var in ('stupid', 'layout'): - _ui = ui.ui() - _ui.setconfig('hgsubversion', var, confvars[var]) + _ui.setconfig('hgsubversion', var, str(confvars[var])) return _ui _ui = conf() commands.clone(_ui, fileurl(repo_path), wc_path, noupdate=noupdate)