diff tests/test_diff.py @ 244:28d0ee605308

Move diff to svncommands.
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 08 Apr 2009 18:21:47 +0200
parents 46f6b872c988
children 7932d098cb5f
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 diff_cmd
+import svncommands
 
 import test_util
 
@@ -32,7 +32,7 @@ class DiffTests(test_util.TestBase):
                             ('alpha', 'alpha', 'alpha\n\nadded line\n'),
                             ])
         u = ui.ui()
-        diff_cmd.diff_command(u, self.repo, self.wc_path)
+        svncommands.diff(u, self.repo, self.wc_path)
         self.assertEqual(u.stream.getvalue(), expected_diff_output)