changeset 953:3b43b1c45e2e

test_rebuildmeta: fix src/dest typo
author Patrick Mezard <patrick@mezard.eu>
date Sun, 07 Oct 2012 20:15:43 +0200
parents 9c3b4f59e7e6
children 1f77bd6ec0e5
files tests/test_rebuildmeta.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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',):