# HG changeset patch # User Steve Losh # Date 1254685407 14400 # Node ID 29d79d253294ae7b00206725d4efa4e0c31d4c7a # Parent a11953bf5d2fac4d70a02a0433e1cf28b5a5f204 Fix the sandbox committing. diff -r a11953bf5d2f -r 29d79d253294 review/tests/test_init.py --- a/review/tests/test_init.py Sun Oct 04 15:41:18 2009 -0400 +++ b/review/tests/test_init.py Sun Oct 04 15:43:27 2009 -0400 @@ -13,12 +13,13 @@ commands.init(ui.ui()) sandbox = get_sandbox_repo() - opts = {'addremove': True, 'date': None, 'user': 'Review Tester', 'logfile': None} + opts = { 'addremove': True, 'date': None, 'user': 'Review Tester', + 'logfile': None, 'message': "Sandbox commit.", } for state in sample_data.log: for filename in state: with open(filename, 'w') as f: f.write(state[filename]) - commands.commit(ui.ui(), sandbox, message="Sandbox commit.") + commands.commit(ui.ui(), sandbox, **opts) def teardown_sandbox(): os.chdir(os.path.realpath(os.path.join(sandbox_path, os.pardir)))