diff tests/test_rebuildmeta.py @ 953:3b43b1c45e2e

test_rebuildmeta: fix src/dest typo
author Patrick Mezard <patrick@mezard.eu>
date Sun, 07 Oct 2012 20:15:43 +0200
parents 5bacb9c63e3e
children
line wrap: on
line diff
--- a/tests/test_rebuildmeta.py
+++ b/tests/test_rebuildmeta.py
@@ -94,7 +94,7 @@ def _run_assertions(self, name, stupid, 
 
     self.assertTrue(os.path.isdir(os.path.join(src.path, 'svn')),
                     'no .hg/svn directory in the source!')
-    self.assertTrue(os.path.isdir(os.path.join(src.path, 'svn')),
+    self.assertTrue(os.path.isdir(os.path.join(dest.path, 'svn')),
                     'no .hg/svn directory in the destination!')
     dest = hg.repository(u, os.path.dirname(dest.path))
     for tf in ('lastpulled', 'rev_map', 'uuid', 'tagmap', 'layout', 'subdir',):