Add the nose testing skeleton.
    
        | author | Steve Losh <steve@stevelosh.com> | 
    
        | date | Sun, 04 Oct 2009 15:26:27 -0400 | 
    
    
        | parents | fc70018c2a0b | 
    
        | children | 896d4023c274 | 
    
        | branches/tags | (none) | 
    
        | files | review/tests/test_init.py | 
Changes
    
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/review/tests/test_init.py	Sun Oct 04 15:26:27 2009 -0400
@@ -0,0 +1,21 @@
+from nose import *
+from mercurial import commands, ui
+import os
+
+
+sandbox_path = os.path.join(os.path.realpath('.'), 'hgreview_test')
+
+def setup_sandbox():
+    os.mkdir(sandbox_path)
+    os.chdir(sandbox_path)
+    
+    commands.init(ui.ui())
+    
+def teardown_sandbox():
+    os.chdir(os.path.realpath(os.path.join(sandbox_path, os.pardir)))
+    os.rmdir(sandbox_path)
+    
+
+@with_setup(setup_sandbox, teardown_sandbox)
+def test_default_init():
+    pass
\ No newline at end of file