Fix the sandbox committing.
    
        | author | Steve Losh <steve@stevelosh.com> | 
    
        | date | Sun, 04 Oct 2009 15:43:27 -0400 | 
    
    
        | parents | a11953bf5d2f | 
    
        | children | 1fcd33358670 | 
    
        | branches/tags | (none) | 
    
        | files | review/tests/test_init.py | 
Changes
    
--- 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)))