diff tests/test_push_command.py @ 337:46e69be8e2c8

Reorganize to have a more conventional module structure. This means that hgsubversion now uses absolute imports instead of relative ones, which makes the tests more reliable.
author Augie Fackler <durin42@gmail.com>
date Wed, 13 May 2009 21:39:39 -0500
parents c0b943cef0c3
children 88ba55ad58c0
line wrap: on
line diff
--- a/tests/test_push_command.py
+++ b/tests/test_push_command.py
@@ -63,6 +63,8 @@ class PushTests(test_util.TestBase):
         self.svnserve_pid = subprocess.Popen(args).pid
         try:
             time.sleep(2)
+            import shutil
+            shutil.rmtree(self.wc_path)
             commands.clone(ui.ui(), 'svn://%s:%d/' % (self.host, self.port),
                            self.wc_path, noupdate=True)