diff tests/test_diff.py @ 257:ffccf0080e54

Move wrappers for hg commands to their own module.
author Augie Fackler <durin42@gmail.com>
date Fri, 10 Apr 2009 22:38:29 -0500
parents 7932d098cb5f
children 75f082b5897e
line wrap: on
line diff
--- a/tests/test_diff.py
+++ b/tests/test_diff.py
@@ -2,7 +2,7 @@ import unittest
 
 from mercurial import ui
 
-import svncommands
+import wrappers
 
 import test_util
 
@@ -32,7 +32,7 @@ class DiffTests(test_util.TestBase):
                             ('alpha', 'alpha', 'alpha\n\nadded line\n'),
                             ])
         u = ui.ui()
-        svncommands.diff(lambda x,y,z: None,
+        wrappers.diff(lambda x,y,z: None,
                          u, self.repo, svn=True)
         self.assertEqual(u.stream.getvalue(), expected_diff_output)